Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Variable Expansion

kevingadd edited this page Aug 20, 2012 · 4 revisions

Paths specified in JSILc configuration files are allowed to contain expansion variables. Expansion variables can either be standard environment variables, variables defined by JSILc, or custom variables you defined in your configuration.

Built-in variables

Please note that some of these variables are not always available. If you attempt to use them when they are not available, JSILc will abort with an error message.

Variable Name Description
JSILDirectory The location of JSILc.exe.
ConfigDirectory The location of the last configuration file that was loaded. Configuration files typically load starting with the command line, then solution file configurations, then assembly file configurations.
OutputDirectory The OutputDirectory specified in the configuration file.
SolutionDirectory The location of the solution being built, if a solution is being built.
AssemblyDirectory The location of the assembly being translated, if an assembly (exe or dll) is being translated.
ContentProjectDirectory The location of the content project being processed, if a content project is being processed.
Profile The name of the profile being used.
Configuration The name of the solution configuration that was built (if you built a solution).
Platform The name of the solution platform that was built (if you built a solution).
Target The name of the solution target that was built (if you built a solution).