Tuesday, October 15, 2013

MSBUILD : error MSB1005: Specify a property and its value.

I was getting the following error from MS-Build:

MSBUILD : error MSB1005: Specify a property and its value.
Switch: /p:Deploy=true;DeployToEnvironment=es1ci;Configuration=Debug;UsingNUnit=true;

The problem turned out to be the last “;”. Apparently MsBuild doesn’t like it!. Took it out and MsBuild was able to run!

2 comments:

Ray Linder said...

For searched reference, you have to capitalize "True". /p:Deploy=true;DeployToEnvironment=es1ci;Configuration=Debug;UsingNUnit=True;

Sandeep Kumar Yama said...

Great. That worked. Thanks for posting it.