简体   繁体   English

添加Azure SDK后挂起Visual Studio 2015

[英]Visual Studio 2015 hanging after adding Azure SDK

So I set up the latest Azure SDK that integrates with Visual Studio 2015. It all seemed to work well and I was happily playing around with it for an hour or more in my small .net 4.6 MVC app with 3 projects in the solution. 因此,我设置了与Visual Studio 2015集成的最新Azure SDK。它似乎都运行良好,并且在我的小型.net 4.6 MVC应用程序中愉快地使用了一个小时或更长时间,其中包含3个项目。 I went in to the Azure web portal and set up a new resource group there, and when I went back to VS I refreshed the Server Explorer my resource group was visible under App Service and data from the ApplicationInsightsExtension.log file appeared when I opened the file in a tab. 我进入了Azure Web门户并在那里建立了一个新的资源组,当我回到VS时,刷新了服务器资源管理器,我的资源组在App Service下可见,并且当我打开该文件时,出现了ApplicationInsightsExtension.log文件中的数据。标签中的文件。 All fine and dandy. 一切都很好。

However, the next time I opened the solution VS hung and wouldn't respond. 但是,下一次我打开解决方案时,VS挂起,没有响应。 The active tab is the ApplicationInsightsExtension.log file and it seems to be trying to connect to Azure but is getting stuck. 活动选项卡是ApplicationInsightsExtension.log文件,它似乎正在尝试连接到Azure,但被卡住了。 I've tried everything including rebooting etc but nothing works. 我已经尝试了一切,包括重新启动等,但没有任何效果。 I'm also opening VS in Admin mode 我也在管理员模式下打开VS

Is there a setting somewhere in the config / project files that specifies what tabs are opend when you open a solution? config /项目文件中的某处是否有设置,用于指定在打开解决方案时打开哪些选项卡? I'm thiinking if I stop the ApplicationInsightsExtension.log file from opening that might fix the issue. 我在想是否停止打开ApplicationInsightsExtension.log文件,这可能会解决问题。 However I've looked in the .csproj and csproj.user files and can't see any setting that might correspond to this. 但是,我查看了.csproj和csproj.user文件,看不到任何与此对应的设置。

Visual Studio load error Visual Studio加载错误

You could reset your settings to prevent VS to restore your opened tabs. 您可以重置设置以防止VS恢复打开的选项卡。

  1. Ensure your Visual Studio is Closed. 确保您的Visual Studio已关闭。
  2. Navigate to your solution directory in windows explorer. 在Windows资源管理器中导航到您的解决方案目录。
  3. Ensure your are displaying hidden files on Solution Explorer. 确保您正在解决方案资源管理器上显示隐藏的文件。 View Tab -> Show/hide ribbon group/ check Hidden items checkbox. 查看标签->显示/隐藏功能区组/选中隐藏项目复选框。 显示隐藏文件
  4. A folder named .vs must be shown now in Windows Explorer. 现在必须在Windows资源管理器中显示一个名为.vs的文件夹。
  5. Navigate to .vs\\< SolutionName >\\v14 导航到.vs \\ < SolutionName > \\ v14
  6. Delete .suo file in the directory. 删除目录中的.suo文件。
  7. Open your solution. 打开您的解决方案。

Now VS will not load any tabs by default, so maybe you can see what is happening. 现在,VS默认不会加载任何选项卡,因此也许您可以看到正在发生的情况。

Hope this helps! 希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM