InspectorPackage did not load correctly

I recently installed Xamarin. I have not experienced any problems with him for about a week. Now, when I download visual studio, I get a warning saying:

The 'InspectorPackage' package did not load correctly.

The problem may be caused by a configuration change or by installing another extension. You can get more information by looking at the file. 'C: \ Users {edited} \ AppData \ Roaming \ Microsoft \ VisualStudio \ 14.0 \ ActivityLog.xml'

Restarting Visual Studio may help resolve this issue.

Continue to display this error message?

Restarting Visual Studio does not resolve this issue.

When checking the xml file, I find:

<entry> <record>503</record> <time>2017/02/15 15:33:56.686</time> <type>Error</type> <source>VisualStudio</source> <description>LegacySitePackage failed for package [InspectorPackage]Source: &apos;&apos; Description: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))&#x000D;&#x000A; System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))&#x000D;&#x000A; at EnvDTE.Project.get_FullName()&#x000D;&#x000A; at Xamarin.Inspector.VS.VSAgentExecutionTarget..ctor(Project proj)&#x000D;&#x000A; at Xamarin.Inspector.VS.VSInspectorSession.CreateAgentExecutionTarget()&#x000D;&#x000A; at Xamarin.Interactive.IdeSupport.InspectorSession.Prepare()&#x000D;&#x000A; at Xamarin.Inspector.VS.InspectorPackage.RefreshInspectorSession()&#x000D;&#x000A; at Xamarin.Inspector.VS.InspectorPackage.Initialize()&#x000D;&#x000A; at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp) </description> <guid>{0FCBA9C6-0554-418C-8B79-FF2ED7DC658D}</guid> <hr>80004001 - E_NOTIMPL</hr> <errorinfo></errorinfo> </entry> 

What can I do to fix this?

+8
visual-studio-2015 xamarin
source share
2 answers

This error only appears if there are several startup projects in the solution.

I reproduced it by creating an empty solution with two empty console projects. When only one is set as launch, everything works fine. However, when configured as at startup, this error appears.

I also ran into this error, where the last post on January 14, 2017 says that the release of the upcoming version 1.1 will fix this problem: https://bugzilla.xamarin.com/show_bug.cgi?id=49417

You can check your version in the about field in VS. On VS2015, this is Help | About Microsoft Visual Studio , and I believe that this is Xamarin Inspector Support . Mine is at 1.0.0.0, so I guess I have to wait for the upcoming release :)

Update

Oddly enough, the update is only for the Xamarin inspector (less than 30 minutes after the answer). The first download of my test solution still popped up with an error, but after that it seems fine.

update (February 28, 2017) :

I am still experiencing a problem with the following version: Xamarin Inspector Support 1.1.2.0 (cdc01b9f4466b6dcc3095828824a12d041c9f55e) Adds support for inspecting Xamarin and WPF apps.

+7
source share

This is what I did and it worked for me:

1) go to the path of Visual Studio and delete everything in this folder (this will delete your visual studio) Visual Studio will not work after that C:\Users\<username>\AppData\Local\Microsoft\VisualStudio

2) uninstall Visual Studio. And install it again.

If this does not work, look at the xamarin files in this folder and delete everything inside.

0
source share

All Articles