6

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.

Tony L.
  • 17,638
  • 8
  • 69
  • 66
Xiang He
  • 91
  • 2
  • 5
  • I will be listening to this thread too as I have the same problem. Might be worth noticing that I use ReSharper and .NET Reflector inside Visual Studio. – olf May 10 '13 at 10:59
  • Me too, I have Resharper 7 and TFS (free hosted version) – JP Hellemons Jul 18 '13 at 08:36

1 Answers1

3

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!

Community
  • 1
  • 1
mr_plum
  • 2,448
  • 1
  • 18
  • 31
  • This worked great. I renamed the .suo file and the problem went away. It created a new .suo file when I told VS 2012 to "Close Solution". – Keith Rowe Mar 03 '16 at 16:31