-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration Files
kevingadd edited this page Apr 14, 2012
·
25 revisions
JSILc allows you to control translation of your applications and libraries by providing one or more JSIL Configuration Files with the extension .jsilconfig.
- JSILc will automatically load any .jsilconfig files you pass it on the command line and apply them to all files translated during that session.
- JSILc will search next to each .sln file translated for a matching .jsilconfig file: Foo.sln.jsilconfig. This configuration file will affect only that solution and its outputs.
- JSILc will search next to each .exe or .dll file translated for a matching .jsilconfig file: Foo.dll.jsilconfig. This configuration file will affect that assembly and its dependencies. Note that this only works for assemblies being translated directly; you cannot set per-assembly configuration for dependencies.
A configuration file is a single JSON dictionary. The dictionary can contain the following setting keys:
Key | Type | Default Value | Description |
---|---|---|---|
ApplyDefaults | Boolean | true | If true, the default project settings will be applied from defaults.jsilconfig. Note that default project settings never override settings you have specified yourself. |