Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

Can you please hint to actions that might lead to VS working again?

This problem began after I installed the following two updates / extensions:

Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.8

Ionic Project Templates extension visualstudiogallery.msdn.microsoft.com/8fa5bff2-e023-4e13-8b36-0244e935fb7d

I tried:

Uninstalling the Azure update.

Uninstalling the Ionic extension.

uninstalling VS and re-installing it.

The VS ActivityLog.xml says:

<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>
like image 663
gavi Avatar asked Dec 13 '15 15:12

gavi


1 Answers

The best way to resolve this is to force the extension cache to reset. You can do this via:

  1. Close all instances of Visual Studio
  2. Delete everything in this folder C:\Users\%username%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
  3. Restart Visual Studio

Thanks!

like image 116
cobey Avatar answered Sep 19 '22 12:09

cobey