
我的 Visual Studio 2015 不斷崩潰,但我找不到原因。
昨天我想安裝 2016 年 3 月的 Python 工具。安裝後,Visual Studio 在啟動時開始崩潰。出現初始螢幕,然後白色主視窗立即崩潰。
我重新安裝了VS2015,但沒有幫助。安裝 VS2015.2 不起作用,我必須安裝沒有更新的 Visual Studio。
我嘗試使用/log執行VS2015。 ActivityLog.xml 不包含任何錯誤。它基本上只是說它加載了很多包然後就退出了:
<?xml version="1.0" encoding="utf-16"?>
<?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>
<activity>
<entry>
<record>1</record>
<time>2016/06/24 11:09:41.257</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Microsoft Visual Studio 2015 version: 14.0.23107.0</description>
</entry>
<entry>
<record>2</record>
<time>2016/06/24 11:09:41.257</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Creating PkgDefCacheNonVolatile</description>
</entry>
...
<entry>
<record>127</record>
<time>2016/06/24 11:10:02.906</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [Global Search Package]</description>
<guid>{18333854-D2FF-44A3-98D8-40501B914D7D}</guid>
</entry>
<entry>
<record>128</record>
<time>2016/06/24 11:10:02.906</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Global Search Package]</description>
<guid>{18333854-D2FF-44A3-98D8-40501B914D7D}</guid>
</entry>
<entry>
<record>129</record>
<time>2016/06/24 11:10:02.985</time>
<type></type>
<source>VisualStudio</source>
<description>Destroying Main Window</description>
</entry>
<entry>
<record>130</record>
<time>2016/06/24 11:10:03.110</time>
<type>Information</type>
<source>VisualStudio</source>
<description>AppId stopped registry detouring</description>
</entry>
<entry>
<record>131</record>
<time>2016/06/24 11:10:03.110</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Shutting down pkgdef registry</description>
</entry>
<entry>
<record>132</record>
<time>2016/06/24 11:10:03.110</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Released pkgdef cache usage tracker</description>
</entry>
<entry>
<record>133</record>
<time>2016/06/24 11:10:03.110</time>
<type>Information</type>
<source>VisualStudio</source>
<description>PkgDef registry shutdown complete</description>
</entry>
</activity>
當 Visual Studio 崩潰時,Windows 為我提供了「偵錯」選項。當我這樣做並選擇我的 VS2013 時,它會顯示NullReferenceException
“in” PresentationFramework.dll
,但沒有更多內容。
然後我嘗試遵循以下建議Visual Studio 2015 Update 2 在啟動後立即開始崩潰。我有一個核心轉儲。 Windbg 告訴我:
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(16a8.1124): Access violation - code c0000005 (first/second chance not available)
eax=00000000 ebx=00000000 ecx=036a848c edx=00000000 esi=00000003 edi=00000003
eip=7700c7ec esp=00daa5c8 ebp=00daa750 iopl=0 nv up ei pl nz na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202
ntdll!NtWaitForMultipleObjects+0xc:
7700c7ec c21400 ret 14h
/安全模式也不行。
誰能幫我?