Visual-studio – The ‘EurekaPackage’ package did not load correctly – Visual Studio 2013

visual studiovisual-studio-2013visual-studio-2017

I installed VS 2013 Premium. On first launch I get this error

Microsoft Visual Studio

The 'EurekaPackage' package did not load correctly.

The problem may have been caused by a configuration change or by the
installation of another extension. You can get more information by
examining the file
'\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml'.

Continue to show this error message? Yes No

Below a copied from ActivityLog.xml

<entry>
    <record>83</record>
    <time>2014/03/14 14:51:59.561</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [File Change Manager Package]</description>
    <guid>{4825B9A3-93E2-4327-9044-41F72EE7E5C9}</guid>
  </entry>
  <entry>
    <record>84</record>
    <time>2014/03/14 14:51:59.577</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>End package load [File Change Manager Package]</description>
    <guid>{4825B9A3-93E2-4327-9044-41F72EE7E5C9}</guid>
  </entry>
  <entry>
    <record>85</record>
    <time>2014/03/14 14:53:21.928</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [EurekaPackage]</description>
    <guid>{8C28E535-ABC9-4F92-B5C9-6C16617C8884}</guid>
    <hr>80131509</hr>
    <errorinfo>Cannot create file mapping.</errorinfo>
  </entry>
  <entry>
    <record>86</record>
    <time>2014/03/14 14:53:21.977</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [EurekaPackage]</description>
    <guid>{8C28E535-ABC9-4F92-B5C9-6C16617C8884}</guid>
    <hr>80131509</hr>
    <errorinfo>Cannot create file mapping.</errorinfo>
  </entry>
  <entry>
    <record>2462</record>
    <time>2014/03/14 14:56:57.158</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{ED19932F-5443-4587-A005-1CB9158B2F64}</guid>
  </entry>

Best Answer

I got this error in Visual Studio 2017 when trying to load my ASP.NET project. I also got two instances of the error "The PackageManagementPackage did not load correctly" along with the "The 'EurekaPackage' package did not load correctly" error.

Similar to tandrasz's answer, I started seeing this error after disabling a bunch of extensions in Visual Studio's Tools > Extensions and Updates dialog.

I also found that the "Microsoft ASP.NET and Web Tools" extension had become disabled, even though I hadn't manually disabled it. Even after manually re-enabling that extension, it would become disabled again each time I restarted Visual Studio while the "package did not load correctly" error persisted.

Doing some science of re-enabling one extension at a time and restarting Visual Studio each time, I found that the specific extension I needed to re-enable to get things working again was the Microsoft Azure App Services Tools extension -- even though my project doesn't do anything with Azure.

(I also needed to re-enable the Microsoft ASP.NET and Web Tools extension along with that Azure extension.)