VS2015 Crashes when I try to Publish

后端 未结 8 1347
忘掉有多难
忘掉有多难 2021-02-05 02:21

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 deploy

相关标签:
8条回答
  • 2021-02-05 02:30

    I have been having this issue as well. What worked for me was logging into Azure through Visual Studio, making sure I was connected in the Server Explorer, and then trying to publish afterwards.

    0 讨论(0)
  • 2021-02-05 02:32

    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.

    0 讨论(0)
  • 2021-02-05 02:36

    The closest thing I've found to solving it is to right-click the project and select 'Clean' before then selecting 'Publish'.

    0 讨论(0)
  • 2021-02-05 02:41

    For those who still couldn't make it work, Make sure you publish in "Release" mode. For me I was trying to publish in Debug mode which hangs the publish window.

    0 讨论(0)
  • 2021-02-05 02:46

    Deleting the *.suo file in v14 folder helped in my case.

    Cleaning the solution occasionally worked, but 90% of time the VS crashed anyways.

    0 讨论(0)
  • 2021-02-05 02:48

    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.

    0 讨论(0)
提交回复
热议问题