Visual Studio 2015社区崩溃开始
问题描述:
我已经启动我的电脑,开始VS 2015社区。徽标窗口出现并几乎立即崩溃,但没有任何消息,但出现错误声音。我在Windows 7的声音设置中发现了精确的声音,描述为“默认声音”或“标准声音”(我没有英文版本)。Visual Studio 2015社区崩溃开始
在上一次会议(昨天)它正常工作,这里没有任何系统变化。
什么可能出错?
这里是日志:
<entry>
<record>26</record>
<time>2017/03/09 10:29:56.022</time>
<type>Error</type>
<source>VisualStudio</source>
<description>LegacySitePackage failed for package [Async Query Service Package]Source: 'Microsoft.VisualStudio.Shell.14.0' Description: Не удалось загрузить файл или сборку "Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Ожидалось, что модуль содержит манифест сборки.
System.BadImageFormatException: Не удалось загрузить файл или сборку "Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Ожидалось, что модуль содержит манифест сборки.
Имя файла: 'Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
 в Microsoft.VisualStudio.Shell.Package.RegisterToolboxItemDiscoveryFactories()
 в Microsoft.VisualStudio.Shell.Package.Initialize()
 в Microsoft.VisualStudio.Services.AsyncQueryService.AsyncQueryServicePackage.Initialize()
 в Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)

Предупреждение: регистрация привязки сборок выключена.
Чтобы включить регистрацию ошибок привязки сборок, установите значение параметра реестра [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) в 1.
Примечание. Регистрация ошибок привязки сборок может привести к некоторому снижению производительности.
Чтобы отключить эту функцию, удалите параметр реестра [HKLM\Software\Microsoft\Fusion!EnableLog].
</description>
<guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
<hr>80131018</hr>
</entry>
<entry>
<record>27</record>
<time>2017/03/09 10:29:56.022</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Async Query Service Package](null)</description>
<guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
<hr>80131018</hr>
</entry>
<entry>
<record>28</record>
<time>2017/03/09 10:29:56.024</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Async Query Service Package]</description>
<guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
<hr>80131018</hr>
</entry>
<entry>
<record>29</record>
<time>2017/03/09 10:29:56.031</time>
<type>Information</type>
<source>VisualStudio</source>
<description>AppId stopped registry detouring</description>
</entry>
所以VS开始关机:
<entry>
<record>30</record>
<time>2017/03/09 10:29:56.031</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Shutting down pkgdef registry</description>
</entry>
<entry>
<record>31</record>
<time>2017/03/09 10:29:56.031</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Released pkgdef cache usage tracker</description>
</entry>
<entry>
<record>32</record>
<time>2017/03/09 10:29:56.031</time>
<type>Information</type>
<source>VisualStudio</source>
<description>PkgDef registry shutdown complete</description>
</entry>
ActivityLog.xsl
文件不看有用的,但我可以添加它。
这次我没有在Windows日志中发现任何事件。
答
来自安装菜单的Rapair解决了这个问题。
在Eventlog中查看更多细节和托管调用堆栈发生崩溃 – magicandre1981