So, I am developing a Web Service, and at some point, my Visual Studio 2015 started to crash every time i right click project -> Publish. When I publish a project it gets deployed to Azure.
I use git, so I undid all the changes to my last successful project publish, and yes, I did publish after that build before.
I tried to remove/re-install Visual Studio, and nothing worked.
Last thing I did was reset Windows 10 to factory settings and install everything again. This still does not do anything.
Last thing I could do is Wipe my computer completely and install everything again, but I don't really want to resort to that!
I am desperate with this! I have resharper 9.2 installed and Xamarin.
Thank you,
The closest thing I've found to solving it is to right-click the project and select 'Clean' before then selecting 'Publish'.
Apparently I fixed this by:
right clicking project-> properties -> Package/Publish SQL -> Import from Web.config
It seems that somehow the project lost some properties regarding these settings, even though they were in the web.config.
I faced same issue with VS 2015 Community Edition while publish. Just installed latest Azure SDK for .Net (VS 2015) - 2.8.1(Or latest one) and it solved the problem.
hit this problem myself, i found that deleting the publish profiles worked. Expand the properties container under the project that keeps crashing and delete PublishProfiles.
warning: you will have to recreate the publish profiles you have just deleted.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With