visual studio 2015 - Why do I get the message "The 'NuGetPackage' package did not load correctly"? -
i spent weekend updating visual studio 2015 installation update 3. , installed core .net cli (command tools interface). , rant update "asp.net , webtools tooling".
i work, start visual studio, open our project, , this:
the 'nugetpackage' package did not load correctly.
the problem may have been caused configuration change or installation of extension. can more information examining file:
'c:\users\samuel\appdata\roaming\microsoft\visualstudio\14.0\activitylog.xml'
restarting visual studio resolve issue.
continue show error message?
here error activity log:
createinstance failed package [nugetpackage]source: 'mscorlib' description: not load file or assembly 'nuget.tools, version=3.4.4.1321, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies. system cannot find file specified. 
 
system.io.filenotfoundexception: not load file or assembly 'nuget.tools, version=3.4.4.1321, culture=neutral, publickeytoken=b03f5f7f11d50a3a' or 1 of dependencies. system cannot find file specified.
file name: 'nuget.tools, version=3.4.4.1321, culture=neutral, publickeytoken=b03f5f7f11d50a3a'
 @ system.reflection.runtimeassembly._nload(assemblyname filename, string codebase, evidence assemblysecurity, runtimeassembly locationhint, stackcrawlmark& stackmark, intptr pprivhostbinder, boolean throwonfilenotfound, boolean forintrospection, boolean suppresssecuritychecks)
 @ system.reflection.runtimeassembly.nload(assemblyname filename, string codebase, evidence assemblysecurity, runtimeassembly locationhint, stackcrawlmark& stackmark, intptr pprivhostbinder, boolean throwonfilenotfound, boolean forintrospection, boolean suppresssecuritychecks)
 @ system.reflection.runtimeassembly.internalloadassemblyname (assemblyname assemblyref, evidence assemblysecurity, runtimeassembly reqassembly, stackcrawlmark& stackmark, intptr pprivhostbinder, boolean throwonfilenotfound, boolean forintrospection, boolean suppresssecuritychecks) 
 @ system.activator.createinstance(string assemblystring, string typename, boolean ignorecase, bindingflags bindingattr, binder binder, object[] args, cultureinfo culture, object[] activationattributes, evidence securityinfo, stackcrawlmark& stackmark)
 @ system.activator.createinstance(string assemblyname, string typename)
 @ system.appdomain.createinstance(string assemblyname, string typename) 

 wrn: assembly binding logging turned off.
 enable assembly bind failure logging, set registry value [hklm\software\microsoft\fusion!enablelog] (dword) 1.
 note: there performance penalty associated assembly bind failure logging.
 
to turn feature off, remove registry value [hklm\software\microsoft\fusion!enablelog].
</description> <guid>{5fcc8577-4feb-4d04-ad72-d6c629b083cc}</guid>
uninstalling , reinstalling nuget package manager tools -> extensions updates seems have fixed it.
we'll see. on post said thought worked came , said didn't: vs2015 - 'nugetpackage' package did not load correctly
check out answer: vs2015 - 'nugetpackage' package did not load correctly
completely removing nuget via extensions , updates, restarting vs re-installing nuget via extensions , updates solved issue me. full vs reinstall not necessary.
Comments
Post a Comment