I try to find and replace everything on the whole solution, but every time I try, it calls a visual studio with a message:
Visual Studio 20 ** stopped working
This only happens when I find and replace everything on the whole solution or on the current project - it will work if I do it in all open files (but I donβt want to go through and open all the files every time I want to do this) , and find the whole solution as a whole, and it will always crash no matter how small this solution is - I tried this in one project file
After examining the various causes of the VS crash, I tried the following without success:
Clear and rebuild solution
Deleting files in %AppData%\..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
Launch in SafeMode
Running VS with logging, but it seems to crash before it logs the cause of the crash - see the errors from log xml in the code snippet below. I think this happens at boot time, and not in the event of a crash, when I tried to download, then close vs and get the same errors. For a full copy of the log check this script
<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'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'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 'Microsoft.VisualStudio.TeamFoundation.TeamExplorer.Extensions' 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 '148ffa77-d70a-407f-892b-9ee542346862' 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, do you know how to solve it, or is it enough to understand my log files to understand what the problem is?
user1987162
source share