VCBuild is failing to load a property sheet. How can I specify $(SolutionDir)?
>vcbuild /logfile:log.txt /rebuild "./Project1/Project1.vcproj"
The following error has occurred during XML parsing:
File: ./Project1/Project1.vcproj
Line: 26
Column: 4
Error Message:
Property sheet file '$(SolutionDir)Property Sheets\Project1.vsprops' was not found or failed to load.
The file './Project1/Project1.vcproj' has failed to load.
According to this, it's not possible to use the $(SolutionDir) when building individual projects. To build individual projects, use devenv.
devenv "Solution1.sln" /project "Project1.vcproj" /rebuild Debug
Edit: This is a better answer.