Which causes NormalizeServiceUrl and Missing or Invalid errors when trying to publish a website from VS 2012

I (and others on my team) have published this project via VS2012 in the past, but something had to change, and I don’t know what to look for.

To clarify, I can publish other projects, but after that I get 2 errors.

  • Error 7 The task "NormalizeServiceUrl" was not assigned a value for the required parameter "ServiceUrl". 0 0 ProjectName
  • Error 6 Web Deploy publishing / package validation error: Invalid or invalid property value for $ (MsDeployServiceUrl) 0 0 Project_name

I deleted and re-created the PublishProfile file and this is still happening. Also on all other computers that are trying to publish this project (right-click the project> Publish> select Web Deployment> Publish). We published this before, and the website is still working, we just cannot update it, because the publication will not work. In addition, I confirmed the connection in case you are going to ask.

I do not know what has changed since the last deployment in July. So what can I do to solve these errors and publish successfully?

+4
source share
1 answer

, , . .csproj, , ,

<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />

*.user .

,

0

All Articles