2011-03-07 4 views
0

VCBuild에서 속성 시트를로드하지 못했습니다. 어떻게 $ (SolutionDir)을 지정할 수 있습니까?VCBuild : 속성 시트를로드 할 수 없습니다.

>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. 

답변

1

this에 따르면, 개별 프로젝트를 빌드 할 때 $ (SolutionDir)를 사용할 수 없습니다. 개별 프로젝트를 빌드하려면 devenv를 사용하십시오.

devenv "Solution1.sln" /project "Project1.vcproj" /rebuild Debug 

편집 : This 더 나은 대답이다.

관련 문제