Visual Studio 2013 ships with a couple of extensions that don't work properly if you have a roaming profile. The symptoms are error messages when opening a C# project and (in some cases) when creating a new C# project. (Other languages may also be affected.)
These errors occur on any machine other than the one on which you first ran Visual Studio, and seem to be related to the fact that extensions are stored in a path with a random component.
The problematic extensions are:
Application Insights Tools for Visual Studio
NuGet Package Manager for Visual Studio 2013
I believe that uninstalling these two extensions on all the machines will resolve the problem, but is there any other way?
The error messages in the activity log look like this:
<entry>
<record>311</record>
<time>2015/05/08 02:41:35.021</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [NuGetVSEventsPackage]</description>
<guid>{98BF0691-D23C-4897-A241-9CF5BEFDCC4A}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'NuGet.Tools, Version=2.8.50926.663, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
<entry>
<record>312</record>
<time>2015/05/08 02:41:35.021</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [NuGetVSEventsPackage]</description>
<guid>{98BF0691-D23C-4897-A241-9CF5BEFDCC4A}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo>Could not load file or assembly 'NuGet.Tools, Version=2.8.50926.663, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
<entry>
<record>321</record>
<time>2015/05/08 02:41:36.967</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [VSPackage]</description>
<guid>{1A4EFADE-F6B2-4490-A2EF-21D5F3D1C8E0}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\v03a4uqf.jhe\Microsoft.AppInsights.GettingStarted.dll' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
<entry>
<record>322</record>
<time>2015/05/08 02:41:36.967</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [VSPackage]</description>
<guid>{1A4EFADE-F6B2-4490-A2EF-21D5F3D1C8E0}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo>Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\v03a4uqf.jhe\Microsoft.AppInsights.GettingStarted.dll' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
There is one registry entry in HKCU that references the missing path:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Packages\{1a4efade-f6b2-4490-a2ef-21d5f3d1c8e0}
VsWinExpressId REG_DWORD 0x4
VWDExpressId REG_DWORD 0x3
MinEdition REG_SZ Standard
ProductVersion REG_SZ 1.0
ProductName REG_SZ Application Insights Tools for Visual Studio
CompanyName REG_SZ Microsoft Corporation
(Default) REG_SZ VSPackage
InprocServer32 REG_SZ C:\Windows\system32\MSCOREE.DLL
Class REG_SZ Microsoft.AppInsights.GettingStarted.VSPackage
CodeBase REG_SZ C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\tr5jvnqs.3lf\Microsoft.AppInsights.GettingStarted.dll
(NB: the registry entry posted was obtained from a different test run than the activity log was, which is why the random part of the paths don't match.)
Related
I have following configurations on my pc-
1) Visual Studio 2013 64bit
2) Installed QT5.4.2 64bit with openGL
3) Qt5Package addin
After installing the addin, it shows up on the menubar like this-
But I can not configure anything as none of the menubar options in QT5 works. I mean when I click a menu item it does not do anything.
I tried to uninstall and reinstall the addin, but still having the same problem. What is the solution to this problem?
There was this error message which appeared only once:
And in the ActivityLog.xml file I found this-
<entry>
<record>825</record>
<time>2015/07/06 04:53:50.918</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{DDD4B302-4A66-4606-A193-AF0CB0D67E5C}</guid>
</entry>
<entry>
<record>826</record>
<time>2015/07/06 04:53:50.918</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [VSPackage]</description>
<guid>{DDD4B302-4A66-4606-A193-AF0CB0D67E5C}</guid>
</entry>
<entry>
<record>827</record>
<time>2015/07/06 04:53:50.919</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [VSPackage]</description>
<guid>{DDD4B302-4A66-4606-A193-AF0CB0D67E5C}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.14.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
<entry>
<record>828</record>
<time>2015/07/06 04:53:50.919</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [VSPackage]</description>
<guid>{DDD4B302-4A66-4606-A193-AF0CB0D67E5C}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.14.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
The Qt5package addin avaiable in Visual Studio Gallery has dependency issues. So you need to download the full addin package from this link.
The full addin package doesn't work in Visual Studio 2015 so I used Qt5Package.
I had the same problem with the Beta version of Qt5.6.0. I found a workaround - in C:\Qt\Qt5.6.0\5.6\msvc2015\mkspecs\common\msvc-desktop.conf Qt 5.6.0 splits all the version-specific changes into a separate file msvc-base.conf. If you copy the contents of this file and replace the line "include(msvc- base.conf)" in mscv-desktop.conf then Qt5Package recognises the Qt 5.6.0 Beta with no problems.
Note this still needs to be fixed in Qt5Package.
I receive the following error message whenever I run VS2013 Premium after installing update 4. (Run as admin, Pc is at home office)
Is there a fix please?
What does SetSite do, that it complains about?
I don't use TeamArchitect so am I able to disable/uninstall it?
Note: I may have tried to uninstall premium then installed professional at some time (because my msdn subs is professional but msdn downloads offer premium as if I'm entitled to it) but that's an impossible task without reformatting as it keeps telling me I have premium whatever I do.
Log file section of interest
<record>818</record>
<time>2015/01/09 09:10:46.299</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [Microsoft.VisualStudio.TeamArchitect.DesignersCommon.DesignersCommonPackage, Microsoft.VisualStudio.TeamArchitect.DesignersCommonPackage, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{59E21B88-8E88-47DE-9FEE-935FA485AF40}</guid>
</entry>
<entry>
<record>819</record>
<time>2015/01/09 09:10:46.304</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Microsoft.VisualStudio.TeamArchitect.DesignersCommon.DesignersCommonPackage, Microsoft.VisualStudio.TeamArchitect.DesignersCommonPackage, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{59E21B88-8E88-47DE-9FEE-935FA485AF40}</guid>
<hr>80004003 - E_POINTER</hr>
<errorinfo>Object reference not set to an instance of an object.</errorinfo>
</entry>
<entry>
<record>820</record>
<time>2015/01/09 09:10:46.304</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Microsoft.VisualStudio.TeamArchitect.DesignersCommon.DesignersCommonPackage, Microsoft.VisualStudio.TeamArchitect.DesignersCommonPackage, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{59E21B88-8E88-47DE-9FEE-935FA485AF40}</guid>
<hr>80004003 - E_POINTER</hr>
<errorinfo>Object reference not set to an instance of an object.</errorinfo>
</entry>
You can start visual stutio with reset all setting:
Open command line
cd..
cd..
cd C:\Program Files (x86)\Microsoft Visual Studio XX.0\Common7\IDE
(XX is 14 with visual studio 2015, XX is 12 with visual studio 2013)
devenv.exe /resetsettings
This helped me:
devenv /setup /ResetSkipPkgs
I've been experimenting with / checking out Xamarin in Visual Studio for the last couple of daze.
Yesterday, though, I opened the Android SDK Manager, and saw there were four (I think it was) packages that needed to be updated. The attempt to do so failed, though, saying “A folder failed to be moved. On Windows this typically means android sdk manager...").
I then closed and restarted VS2013 / Xamarin. Subsequent attempts to open the SDK manager just result in an err msg ("Command did not execute successfully due to an unexpected exception. Please check the output window for additional information"). Here are the "More Details":
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Mono.VisualStudio.Extension.ProcessWrapper.RunWithOutput(String executable, Int32 waitTime, String workingDir, IVsOutputWindowPane outputPane, String[] arguments)
at Mono.Android.VisualStudio.MonoAndroidSdk.StartAndroidSdkManager()
at Mono.Android.VisualStudio.Commands.StartSdkManager.Execute(IMenuCommand command)
at Mono.VisualStudio.Extension.Commands.VsCommandExtensionAdapter.<>c__DisplayClass5.b__3()
at Mono.VisualStudio.Extension.TracingExtensions.ShieldUI(ITracer tracer, Action action, String format, String[] args)
Now (even after restarting Windows) I'm not even able to open the project due, I assume, to the interrupted state of the sidetracked upgrade. These are what I see:
There were also these err msgs:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- PlatypusMobile.Android, "C:\Users\clay\documents\visual studio 2013\Projects\PlatypusMobile\PlatypusMobile.Android.csproj"
Non-functional changes required
Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
- PlatypusMobile, "C:\Users\clay\documents\visual studio 2013\Projects\PlatypusMobile\PlatypusMobile.sln"
Also, one of the err msgs said to look in:
C:\users\clay\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml
Here are the most interesting parts of that:
<?xml version="1.0" encoding="utf-16"?>
<?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>
<activity>
<entry>
<record>1</record>
<time>2014/03/28 15:03:09.061</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Microsoft Visual Studio 2013 version: 12.0.30110.0</description>
</entry>
<entry>
<record>2</record>
<time>2014/03/28 15:03:09.061</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Running in User Groups: Administrators Users</description>
</entry>
<entry>
<record>3</record>
<time>2014/03/28 15:03:09.061</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Available Drive Space: C:\ drive has 820592128000 bytes</description>
</entry>
. . .
<entry>
<record>924</record>
<time>2014/03/28 15:03:55.266</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID 'Microsoft.Windows.DevelopmentKit.Desktop' is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\DESKTOP SDK\...</description>
<path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\</path>
</entry>
. . .
<entry>
<record>1001</record>
<time>2014/03/28 15:04:42.000</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [MonoAndroidPackage]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
</entry>
<entry>
<record>1011</record>
<time>2014/03/28 15:09:31.962</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [MonoAndroidPackage]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
<hr>80131509</hr>
<errorinfo>This property is not valid when the SDK is not installed</errorinfo>
</entry>
<entry>
<record>1012</record>
<time>2014/03/28 15:09:31.963</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [MonoAndroidPackage]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
<hr>80131509</hr>
<errorinfo>This property is not valid when the SDK is not installed</errorinfo>
</entry>
<entry>
<record>1014</record>
<time>2014/03/28 15:17:40.128</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [MonoAndroidPackage]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
</entry>
<entry>
<record>1015</record>
<time>2014/03/28 15:17:42.660</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [MonoAndroidPackage]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
<hr>80131500</hr>
<errorinfo>There is already a logger with the name 'Xamarin.Android'</errorinfo>
</entry>
<entry>
<record>1016</record>
<time>2014/03/28 15:17:42.660</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [MonoAndroidPackage]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
<hr>80131500</hr>
<errorinfo>There is already a logger with the name 'Xamarin.Android'</errorinfo>
</entry>
</activity>
How can I recombine the shattered shards and get the project to open again so that I can retry upgrading the Android SDK packages? Can Humpty-Dumpty be put back together again?
Note: In the meantime, I have my first app up and running in Android Studio.
For me VS restart has solved the incompatibility issues both for iOS and Android projects
How about trying to upgrade the Andrdoid SDK packages from Xamarin Studio?
You can just go to Tools-> Open Android SDK Manager...
Now it takes about 5 minutes to start the IDE itself and no project is loaded.
I have tried the following
re install VS2012
Remove Resharper
Remove DevExpress
I have studied the activity log and found that record #945 takes about 8 minutes. Can anyone help?
The same symptom is also described here but not answered.
<entry>
<record>944</record>
<time>2013/08/01 09:52:36.493</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Visual Studio Logging Package]</description>
<guid>{2DC9DAA9-7F2D-11D2-9BFC-00C04F9901D1}</guid>
</entry>
<entry>
<record>945</record>
<time>2013/08/01 09:52:50.670</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{2DC9DAA9-7F2D-11D2-9BFC-00C04F9901D1}</guid>
<path>D:\Program Files (x86)\Microsoft Visual Studio 11.0\\Common7\IDE*\VsLogUI.dll</path>
</entry>
<entry>
<record>946</record>
<time>2013/08/01 10:00:55.206</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{F384B236-B4A9-401B-BC58-3106E3ACA3EC}</guid>
</entry>
What seemed to help for me was dumping my temporary internet files and deleting the contents my C:\FusionLogs
The following registry keys can tell you if Fusion Logging is enabled and where it logs too:
HKLM\Software\Microsoft\Fusion\EnableLog <-- logging set to exception
HKLM\Software\Microsoft\Fusion\ForceLog <-- log all binds to disk
HKLM\Software\Microsoft\Fusion\LogFailures <-- log failures
HKLM\Software\Microsoft\Fusion\LogPath <-- target of logging
After updating to Visual Studio 2012 Update 3 (I was previously running Update 2), NuGet fails to load. By that I mean the Package Manager no longer shows up after I have loaded a solution that uses NuGet and used to work.
* It does not show up under the Tools Menu.
* NuGet (Manage NuGet Packages) does not show up in the menu after right click on the solution
* NuGet (Manage NuGet Packages) does not show up in the menu after right click on the project
The Extensions and Updates dialog (TOOLS/Extensions and Updates...) does show the NuGet Package Manager as installed and when I click on it it shows that it can be uninstalled.
Also when I checked the installation log after uninstalling and then re-installing the NuGet Package Manager (from the download I got on the CodePlex nuget site) it shows that it was successfully installed:
/10/2013 11:39:05 AM - Beginning to install extension to Microsoft Visual Studio Professional 2012...
7/10/2013 11:39:05 AM - Install to Microsoft Visual Studio Professional 2012 completed successfully. The extension has been installed to C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\\COMMON7\IDE\EXTENSIONS\VYALGTD2.XZS\
I checked and this folder does in fact exist and contains NuGet dlls.
When I go to the TOOLS/Options... dialog and select Package Manager the right hand pane shows the text: "An error occurred loading this property page". The same text is shown when Package Manager is expanded and either General or Package Sources are selected.
I have uninstalled and re-installed NuGet numerous times and I have installed both from the downloaded VSIX and directly in the Extensions and Updates dialog and the result is always the same.
I have installed an older version of NuGet and I get the same results. I have uninstalled Visual Studio and re-installed it and I get the same results with version 1, Update 2, or Update 3.
The Activity.log.xml file shows the following issue when attempting to load NuGet:
<entry>
<record>211</record>
<time>2013/07/10 17:39:44.295</time>
<type>Information</type>
<source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
<description>Successfully loaded component assembly from cache</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS\VYALGTD2.XZS\NuGet.VisualStudio.dll</path>
</entry>
<entry>
<record>212</record>
<time>2013/07/10 17:39:44.295</time>
<type>Information</type>
<source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
<description>Successfully loaded component assembly from cache</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS\VYALGTD2.XZS\NuGet.Console.dll</path>
</entry>
<entry>
<record>213</record>
<time>2013/07/10 17:39:44.295</time>
<type>Information</type>
<source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
<description>Successfully loaded component assembly from cache</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\EXTENSIONS\VYALGTD2.XZS\NuGetConsole.Host.PowerShellProvider.dll</path>
</entry>
<entry>
<record>214</record>
<time>2013/07/10 17:39:44.298</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Visual Studio Component Model Host Package]</description>
<guid>{49D12072-378B-4FFA-A09E-40E0B5D097CC}</guid>
</entry>
<entry>
<record>215</record>
<time>2013/07/10 17:39:44.383</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
</entry>
This part looks OK. But then there are the following warnings and errors:
<entry>
<record>234</record>
<time>2013/07/10 17:39:57.070</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{00000000-0000-0000-0000-000000000000} LANG:0409 ID:1003
</description>
</entry>
<entry>
<record>235</record>
<time>2013/07/10 17:39:57.072</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{00000000-0000-0000-0000-000000000000} LANG:0409 ID:1004
</description>
</entry>
<entry>
<record>236</record>
<time>2013/07/10 17:39:57.073</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5FB7364D-2E8C-44A4-95EB-2A382E30FEC7} (EditorExtensionsPackage) LANG:0409 ID:101
</description>
</entry>
<entry>
<record>237</record>
<time>2013/07/10 17:39:57.073</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5FB7364D-2E8C-44A4-95EB-2A382E30FEC7} (EditorExtensionsPackage) LANG:0409 ID:106
</description>
</entry>
<entry>
<record>238</record>
<time>2013/07/10 17:39:57.073</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5FB7364D-2E8C-44A4-95EB-2A382E30FEC7} (EditorExtensionsPackage) LANG:0409 ID:102
</description>
</entry>
<entry>
<record>239</record>
<time>2013/07/10 17:39:57.073</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5FB7364D-2E8C-44A4-95EB-2A382E30FEC7} (EditorExtensionsPackage) LANG:0409 ID:101
</description>
</entry>
<entry>
<record>240</record>
<time>2013/07/10 17:39:57.074</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5FB7364D-2E8C-44A4-95EB-2A382E30FEC7} (EditorExtensionsPackage) LANG:0409 ID:107
</description>
</entry>
<entry>
<record>241</record>
<time>2013/07/10 17:39:57.074</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5FB7364D-2E8C-44A4-95EB-2A382E30FEC7} (EditorExtensionsPackage) LANG:0409 ID:103
</description>
</entry>
<entry>
<record>242</record>
<time>2013/07/10 17:39:57.074</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5FB7364D-2E8C-44A4-95EB-2A382E30FEC7} (EditorExtensionsPackage) LANG:0409 ID:105
</description>
</entry>
<entry>
<record>243</record>
<time>2013/07/10 17:39:57.074</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Performance warning: String load failed. Pkg:{5FB7364D-2E8C-44A4-95EB-2A382E30FEC7} (EditorExtensionsPackage) LANG:0409 ID:104
</description>
</entry>
<entry>
<record>244</record>
<time>2013/07/10 17:40:00.908</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{5FCC8577-4FEB-4D04-AD72-D6C629B083CC}</guid>
</entry>
<entry>
<record>245</record>
<time>2013/07/10 17:40:00.908</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [NuGet.Tools.NuGetPackage, NuGet.Tools, Version=2.6.40627.9000, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{5FCC8577-4FEB-4D04-AD72-D6C629B083CC}</guid>
</entry>
<entry>
<record>246</record>
<time>2013/07/10 17:40:00.915</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [NuGet.Tools.NuGetPackage, NuGet.Tools, Version=2.6.40627.9000, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{5FCC8577-4FEB-4D04-AD72-D6C629B083CC}</guid>
<hr>80070002</hr>
<errorinfo>Could not load file or assembly 'NuGet.Tools, Version=2.6.40627.9000, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
<entry>
<record>247</record>
<time>2013/07/10 17:40:00.915</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [NuGet.Tools.NuGetPackage, NuGet.Tools, Version=2.6.40627.9000, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{5FCC8577-4FEB-4D04-AD72-D6C629B083CC}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo>Could not load file or assembly 'NuGet.Tools, Version=2.6.40627.9000, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
<entry>
<record>248</record>
<time>2013/07/10 17:40:00.915</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Package failed to load; error message suppressed by skip flag</description>
<guid>{5FCC8577-4FEB-4D04-AD72-D6C629B083CC}</guid>
</entry>
<entry>
With the main clue being in record 246 --
Could not load file or assembly 'NuGet.Tools, Version=2.6.40627.9000, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
The question is why can't the system find the file or what dependency is missing. MSDN Tech support was helping me, but then decided that this was a problem they would not support and that I should post the issue here.
Take a look at this link to coops007 has a great solution for NuGet problem.
here are the steps to solve the issue, which worked for #Catherine:
Download the Nuget vsix package from the web, not via the VS extension gallery in VS2012.
Ensure VS2012 is fully closed.
Run the VSIX installer twice (both at the same time!) The first will install, and the second says it is already installed. It is the second installer that actually finshes the job.
Note, if you run the installer just once, the errors inside VS2012 remain. Also, if you rerun the installer again, the errors remain. You have to run the installer twice simultaneously
This scenario works for me:
Download NuGet Package Manager vsix file
Extract it like a zip archive
Copy the content to the folder where NuGet extension is
installed (on my system it is "c:\Program Files (x86)\Microsoft
Visual Studio 11.0\Common7\IDE\Extensions\oabo2crw.lk3")
In case it helps . . .
I too had the Could not load file or assembly error for "NuGet.Tools". I am running Visual Studio Professional 2012 on Windows 8.1 and (after trying many other recommended solutions) the following steps worked for me:
Ran VS2012 as administrator (at this point everything I did was as administrator...just in case)
Uninstalled the NuGet Package Manager from the Extensions and Updates... dialog box found in the Tools menu.
Restarted Visual Studio
Downloaded the "Nuget.Tools.vsix" file from their website. You can find this by clicking on the more information link in package information section of the the Extensions and Updates... dialog box when the NuGet package is selected.
Closed Visual Studio 2012.
Ran powershell as administrator.
Navigated to where I saved the .VSIX file.
Ran the .VSIX file from powershell.
So essentially I just manually installed the package using powershell. After that, I just restarted Visual Studio and had no more errors.
I am on Visual Studio 2015 Community edition and getting the same error. In my case, the issue got resolved by simply going to Tools > Extension and Updates and uninstalling "Nuget Package Manager for Visual Studio", restarting Visual Studio and then installing this extension again. Works perfectly with no errors now. Perhaps the installation routine was streamlined by now so that simply reinstalling resolved the issue.
This killed me for a while. Ended up deleting the one whacky named folder in:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions
Mine was qlpuoyw3.ayw and re-installing from the .vsix file. Worked like a champ. Also cleared up the same error with other extension.
I solved this particular issue, but it just got me down the road to the next issue. Here is what I did to resolve this issue I hope it helps someone else:
Uninstall Visual Studio 2012 (Control Panel - Program and Features -
Microsoft Visual Studio Professional 2012)
Delete the VS 2012
folders under Program Files and Program Files(x86). The actual name
is Microsoft Visual Studio 11.0 (Very Poor that the uninstall does
not remove the folders).
Remove VS 2012 entries from Registry
HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE (These will be the 11.0
entries under Visual Studio)
Re-install Visual Studio 2012 (I get my
version from an MSDN subscription download)
This fixed the problem I had with the Package Manager but I am left with a different problem where Web.Mvc.Package.MvcPackage does not load correctly and then my Solution will not longer recognize the project file for a solution I have because it indicates that it is incompatible. So I am back to uninstalling and removing all entries under Visual Studio 2012 (folders and registry) pertaining to MVC 4 and then re-installing again.