Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NuGet package does not load correctly
CoolBreeze
#1 Posted : Wednesday, February 1, 2017 1:57:19 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2014(UTC)
Posts: 79
Location: United States of America

Was thanked: 9 time(s) in 9 post(s)
Hi,

I noticed NuGet extension wasn't loaded in VS2010. Initially I didn't pay much attention to it. But then today I restarted VS2010 and it popped up an error stating:

The 'NuGet'.Tools.NuGetVSEventsPackage.NuGet.Tools, Version=2.8.50126.400, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a' package did not load correctly.

The second paragraph of the error suggested starting VS with /log and then examining the log file for error details.

I did that however, I don't see good error details in the log for me to figure out the cause of the problem.

I believe the last update I did was to update to NCrunch 3.3.06.

While I'm not 100% certain I'm wondering if the update to 3.3.06 caused some problem with NuGet loading during VS startup.

I can send ActivityLog.xml if needed.



Remco
#2 Posted : Wednesday, February 1, 2017 10:03:19 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Hi,

Under VS2010, an upgrade of NCrunch (or any extension) causes VS to flush its package cache and rebuild this.

Because VS is not perfect, there are some situations where clearing out and rebuilding the cache can cause internal problems. This means that while it is unlikely NCrunch is responsible for a plugin clash, the installation may have triggered an unrelated problem.

I recommend trying the following command: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /setup

This will rebuild VS2010's extension cache and configuration.

You can also try: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /rootsuffix test

This will start VS2010 with a different registry hive. If the VS registry hive is corrupt, this will work around the problem.

In all truth, without solid indication that NCrunch is at fault here, it will be very hard for me to investigate this problem as all symptoms are pointing inside VS itself.
CoolBreeze
#3 Posted : Tuesday, February 7, 2017 9:53:56 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2014(UTC)
Posts: 79
Location: United States of America

Was thanked: 9 time(s) in 9 post(s)
Hi Remco,

Thanks for the reply. I tried both of your suggestions and they didn't fix the problem.

I re-installed NuGet Package Manager using these instructions:

https://github.com/paypa...-Studio-2010-&-2012

That fixed the problem. I probably didn't need to try your two suggestions.

As always: I love using your fantastic tool!

Thanks, Ed
1 user thanked CoolBreeze for this useful post.
Remco on 2/7/2017(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.080 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download