Archive

Archive for April, 2011

TFS 2010: MSBUILD : error MSB1008: Only one project can be specified


You may get the following error during the team build

MSBUILD : error MSB1008: Only one project can be specified. Switch: CPU /p:VCBuildOverride=C:\Builds\1\Lajak\SilverlightApplication3\Sources\SilverlightApplication3.sln.Any For switch syntax, type “MSBuild /help”

TF270015: ‘MSBuild.exe’ returned an unexpected exit code. Expected ‘0’; actual ‘1’.

Solution

Make sure that none of the MSBuild switches contain a space and switches are surrounded with double quotes. If any of the switches contain a path that contains a space, make sure that it ends with double backward slashes. You can also remove the backward slashes at the end.

Example:

/p:referencepath=”$(SourceDirectory)\Referenced Assemblies\lib\\”

Categories: Team Build, TFS, TFS2010 Tags: , ,

Signup NOW for Ottawa IT Camp


Ottawa IT Camp is on April 16. I will be presenting in the Mobile track. Sign up and enjoy the free whole day training. Don’t wait sign up now 🙂

http://www.ottawacodecamp.ca/default.aspx

Categories: Presentations Tags: