"the project has been modified outside the environment ,press reload to load the update project from disk"

publish, web, webdeploy

Solution

I was struggling with this too and found that the accepted answer to this similar question resolved my issue.

To be specific: I closed VS, renamed my .suo file, then reopened the solution. VS regenerated a .suo file (~ half the size of the old one). No more "modified outside..." messages when publishing!

Problem

I am trying to use webdeploy to publish a website in VS2012. I can publish but it keeps giving me the following message: "The project has been modified outside the environment, press reload to load the update project from disk" I can publish a asp.net web api successfully with the same setting.

Original source

Related problems