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:

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

    ReplyDelete
  2. Great. That worked. Thanks for posting it.

    ReplyDelete

Remember, if you want me to respond to your comment, then you need to use a Google/OpenID account to leave the comment.