I have a deployment project deployment.vdproj to which I have added the project output of project.csproj. I want to build deployment.vdproj through the command line. But while doing so I need to specify a property (/p:) for project.csproj. How do I this?
I have used devenv.com to build deployment.vdproj, but I cannot figure out how to pass in the property for project.csproj
The command line I used is:
devenv.exe /build Debug deployment.vdproj
This works fine. But I want to specify the output path of project.csproj as well. Something like /p:OutputPath="C:\output". Is it possible to control the properties of project.csproj while building deployment.vdproj? If so, how do I do it?
csproj already contains the output path, so I don't think you can modify using command line parameter. I guess the only way is to modify the csproj using regular expression say command line perl -i .... *.csproj and then run the MSBuild and revert again the changes in the csproj.