How to modify/replace option set file when building from command line?
- by Heinrich Ulbricht
I build packages from a batch file using commands like:
msbuild ..\lib\Package.dproj /target:Build /p:config=%1
The packages' settings are dependent on an option set:
<Import Project="..\optionsets\COND_Defined.optset" Condition="'$(Base)'!='' And Exists('..\optionsets\COND_Defined.optset')"/>
This option set defines a conditional…