Tuesday, July 10, 2012

Web Deploy publish/package validating error: Missing or Invalid property value for $(MsDeployServiceUrl)

After installing the new Windows Azure SDK for Visual Studio 2010, I wanted to try the new Web Deploy features. But when I tried to publish my web application it failed with the following error message:

“Web Deploy publish/package validating error: Missing or Invalid property value for $(MsDeployServiceUrl)”

On the IIS forums someone mentioned that uninstalling the "Microsoft Web Publishing for Visual Studio 2010" feature should fix the issue. So I went to Add/Remove Programs, selected the "Microsoft Web Publishing for Visual Studio 2010" feature and uninstalled it.

After restarting Visual Studio I was finally able to publish using the new Web Deploy.

3 comments:

Unknown said...

This also worked:
* Rename C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.target
to C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.target.BAK
* Install/Repair using the exe at http://go.microsoft.com/fwlink/?LinkId=253458

Original source: http://social.msdn.microsoft.com/Forums/en-US/windowsazuredevelopment/thread/116d3562-99fb-45b0-acf9-b35bc393682e

Anonymous said...

This worked for me! Thanks!

Zinavo Technologies said...

Really this is very interesting blog, share more updating.
Web Design Companies Bangalore | Website Designing Company Bangalore