Friday, December 6, 2013

MSBUILD : error MSB1008: Only one project can be specified.

I started switching projects over to a custom build process using community tasks. The TFS build points to a .proj file that then does some versioning for git and kicks off build and nugget or build and web deploy. Well, one project started giving me the error:

MSBUILD : error MSB1008: Only one project can be specified.
Switch: Production

It turns out the issue was in the build definition name - it had spaces in it. I renamed it from "Reslife Production Deploy" to just "Reslife.Publisher" and voila - works.

No comments:

Post a Comment