Find and replace all crashes vs2015 and 2013 - visual-studio

I am trying to do a find and replace all on the entire solution but everytime I try, it crashes visual studio with the message:
Visual Studio 20** has stopped working
This only happens when I do a find and replace all on the entire solution or current project - it will work if I do it on all open files (but I don't want to go through and open all the files everytime I want to do this), and a find all in the entire solution works and it will always crash no matter how small the solution is - I tried it on a one file project
From looking around various reasons for VS crashing, I have tried the following with no success:
Clean and rebuild the solution
Deleting files in %AppData%\..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
Starting in SafeMode
Running VS with logging, but it seems to crash before it logs the reason for the crash - see errors from log xml in code snippet below. I think these happen on load rather than when the crash happens as I have tried loading and then closing the vs and get the same errors. For a full copy of the log, check this fiddle
<entry>
<record>235</record>
<time>2016/06/03 09:12:57.703</time>
<type>Error</type>
<source>VisualStudio</source>
<description>PkgDef syntax or I/O error at line 1: Section header: missing closing bracket</description>
<hr>80004005 - E_FAIL</hr>
<path>The contents of this file have moved.</path>
</entry>
<entry>
<record>236</record>
<time>2016/06/03 09:12:57.703</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Could not process PkgDef file</description>
<hr>80004005 - E_FAIL</hr>
<path>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\VsGraphics\RegisteredDefaultEngines.pkgdef</path>
</entry>
<entry>
<record>242</record>
<time>2016/06/03 09:12:57.704</time>
<type>Error</type>
<source>VisualStudio</source>
<description>PkgDef syntax or I/O error at line 1: Section header: missing closing bracket</description>
<hr>80004005 - E_FAIL</hr>
<path>The contents of this file have moved.</path>
</entry>
<entry>
<record>243</record>
<time>2016/06/03 09:12:57.704</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Could not process PkgDef file</description>
<hr>80004005 - E_FAIL</hr>
<path>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\VsGraphics\VsGraphicsLaunchHookPkg.pkgdef</path>
</entry>
<entry>
<record>1851</record>
<time>2016/06/03 09:13:01.431</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Failed to read Version</description>
<hr>80070002</hr>
</entry>
<entry>
<record>1852</record>
<time>2016/06/03 09:13:01.431</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Binding Redirect / CodeBase entry from configuration hive is malformed, ignoring.</description>
<hr>80070002</hr>
<path>Software\Microsoft\VisualStudio\14.0_Config_16920\RuntimeConfiguration\dependentAssembly\bindingRedirection\{BB256134-B73E-47AA-93B4-C49FF433E5B1}</path>
</entry>
<entry>
<record>1885</record>
<time>2016/06/03 09:13:01.817</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{480D29DF-2B3D-445F-B055-FE2C74913A83}</guid>
<hr>800a006f</hr>
<errorinfo>Cannot find the requested resource: 'Menus.ctmenu'.</errorinfo>
</entry>
<entry>
<record>1886</record>
<time>2016/06/03 09:13:01.971</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{16CD70AB-0E04-4675-91FA-4910E09EAE56}</guid>
<hr>800a006f</hr>
<errorinfo>Cannot find the requested resource: 'Commands.ctmenu'.</errorinfo>
</entry>
<entry>
<record>1887</record>
<time>2016/06/03 09:13:02.224</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{2FFE45C4-5C73-493C-B187-F2E955FF875E}</guid>
<hr>800a006f</hr>
<errorinfo>Cannot find the requested resource: 'Menus.ctmenu'.</errorinfo>
</entry>
<entry>
<record>1889</record>
<time>2016/06/03 09:13:02.255</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{2EF1EC52-C8BF-4FE0-8ECE-BA9C0D5D1603}</guid>
<hr>800a006f</hr>
<errorinfo>Cannot find the requested resource: 'VSMenus.ctmenu'.</errorinfo>
</entry>
<entry>
<record>2291</record>
<time>2016/06/03 09:13:04.454</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Error loading extension: This VSIX does not apply to any product installed on this machine. The problem could be that the VSIX manifest&apos;s format is not recognized, or that the manifest has been corrupted. Data at the root level is invalid. Line 1, position 1. </description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\MICROSOFT\VSGRAPHICS\</path>
</entry>
<entry>
<record>2292</record>
<time>2016/06/03 09:13:04.493</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Error loading extension: This VSIX does not apply to any product installed on this machine. The problem could be that the VSIX manifest&apos;s format is not recognized, or that the manifest has been corrupted. Data at the root level is invalid. Line 1, position 1. </description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\MICROSOFT\VSGRAPHICS\</path>
</entry>
<entry>
<record>2293</record>
<time>2016/06/03 09:13:04.500</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.VisualStudio.TeamFoundation.TeamExplorer.Extensions&apos; is already loaded at C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\P04KATKY.ORE\...</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TEAMFOUNDATION\TEAM EXPLORER\</path>
</entry>
<entry>
<record>2294</record>
<time>2016/06/03 09:13:04.501</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID &apos;148ffa77-d70a-407f-892b-9ee542346862&apos; is already loaded at C:\USERS\NGP\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\O3OMG1QP.PKM\...</description>
<path>C:\USERS\NGP\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\JYRLXX0C.PDK\</path>
</entry>
Has anyone had this problem, know how to solve it, or understand my log files enough to see what the problem is?

Related

VisualStudio 2017 Community won't start

IDE crashes on startup, at the splash screen. I have looked into logs and found a bunch of errors:
<entry>
<record>14</record>
<time>2017/07/09 07:28:50.672</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Could not find ConfigurationChanged timestamp.</description>
<hr>80070002</hr>
</entry>
<entry>
<record>15</record>
<time>2017/07/09 07:28:50.672</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Could not find ConfigurationChanged timestamp.</description>
<hr>80070002</hr>
</entry>
<entry>
<record>16</record>
<time>2017/07/09 07:28:50.672</time>
<type>Information</type>
<source>VisualStudio</source>
<description>PkgDefCache flags</description>
<hr>00003801</hr>
</entry>
<entry>
<record>17</record>
<time>2017/07/09 07:28:50.672</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Could not find ConfigurationChanged timestamp.</description>
<hr>80070002</hr>
</entry>
<entry>
<record>18</record>
<time>2017/07/09 07:28:50.672</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Could not find ConfigurationChanged timestamp.</description>
<hr>80070002</hr>
</entry>
I tried to reinstall VS, remove all extensions etc but nothing helped me
UPD: it doesn't work with /setup
Check this link. Maybe it will help. I know it's for Visual Studio 2012 but might apply here as well
https://social.msdn.microsoft.com/Forums/en-US/450f2b30-e902-4dad-870a-457b331f932f/could-not-find-configurationchanged-timestamp-error-message-appears-in-activitylogxml-while?forum=vsx

Visual Studio Crashes When Opening Project

my project has stopped loading - Visual Studio 2013 just crashes and I'm really worried I wont be able to continue my work on the project solution. I've found this error in Visual Studio's Activity Log, but I don't really know what it means, can anyone help?
Visual Studio does open on it's own, but I cant run the project solution I've been working on.
<record>818</record>
<time>2015/04/03 14:42:01.839</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
</entry>
<entry>
<record>819</record>
<time>2015/04/03 14:42:01.839</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Unexpected system error mode before loading package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
</entry>
<entry>
<record>820</record>
<time>2015/04/03 14:42:01.839</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
</entry>
<entry>
<record>821</record>
<time>2015/04/03 14:42:02.158</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
<hr>80131500</hr>
<errorinfo>No exports were found that match the constraint:
ContractName Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
RequiredTypeIdentity Microsoft.VisualStudio.Utilities.IContentTypeRegistryService</errorinfo>
</entry>
<entry>
<record>822</record>
<time>2015/04/03 14:42:02.160</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
<hr>80131500</hr>
<errorinfo>No exports were found that match the constraint:
ContractName Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
RequiredTypeIdentity Microsoft.VisualStudio.Utilities.IContentTypeRegistryService</errorinfo>
</entry>
Try clearing the Visual Studio component model cache.

How can a VS / Xamarin project whose connections have been undone be reattached?

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 &apos;Microsoft.Windows.DevelopmentKit.Desktop&apos; 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...

Visual Studio 2012 is extremely slow at startup

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

Why does NuGet fail to load in Visual Studio 2012 after updating to VS Update 3?

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.

Resources