[英]Visual Studio 2015 hangs and then: The 'XamarinIOSPackage' package did not load correctly
Visual Studio 2015 Update 1, Community, hangs after saving any change or when opening a .cshtml view. 保存任何更改或打开.cshtml视图后,Visual Studio 2015 Update 1社区将挂起。
Can you please hint to actions that might lead to VS working again? 你能否暗示可能导致VS再次工作的行动?
This problem began after I installed the following two updates / extensions: 安装以下两个更新/扩展后,此问题开始:
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.8 适用于Microsoft Visual Studio 2015的Microsoft Azure工具 - v2.8
Ionic Project Templates extension visualstudiogallery.msdn.microsoft.com/8fa5bff2-e023-4e13-8b36-0244e935fb7d Ionic Project Templates扩展visualstudiogallery.msdn.microsoft.com/8fa5bff2-e023-4e13-8b36-0244e935fb7d
I tried: 我试过了:
Uninstalling the Azure update. 卸载Azure更新。
Uninstalling the Ionic extension. 卸载Ionic扩展。
uninstalling VS and re-installing it. 卸载VS并重新安装它。
The VS ActivityLog.xml says: VS ActivityLog.xml说:
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [XamarinIOSPackage]</description>
<guid>{77875FA9-01E7-4FEA-8E77-DFE942355CA1}</guid>
<hr>80131534</hr>
<errorinfo>The type initializer for 'Xamarin.VisualStudio.IOS.BuildServerAddressProvider.BuildServerAddressProvider' threw an exception.</errorinfo>
The best way to resolve this is to force the extension cache to reset. 解决此问题的最佳方法是强制扩展缓存重置。 You can do this via:
你可以这样做:
C:\\Users\\%username%\\AppData\\Local\\Microsoft\\VisualStudio\\14.0\\ComponentModelCache
C:\\Users\\%username%\\AppData\\Local\\Microsoft\\VisualStudio\\14.0\\ComponentModelCache
Thanks! 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.