visual studio - Passing MSBuild options when calling devenv -
is there way pass command line switches devenv passed as-is when calls msbuild?
you can achieve /property (/p) key of msbuild. open .csproj in text (with notepad.exe): combinations $(somename) properties of msbuild. can passed in command line of msbuild via /p:somename=somevalue, can passed devenv through environment variable. example: start visual studio command prompt, in command prompt type:
set semename=somevalue
devenv
visual studio start. load solution of choice, property "somename" passed projects in solution value "somevalue".
Comments
Post a Comment