我一直在使用VS2015专业版大约一年,但我的电脑出现电源故障,重启后VS2015无法运行。
启动徽标出现约一秒钟然后消失。
在命令行上:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>devenv /setup
Package 'Async Query Service Package' failed to load.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>
问题似乎是异步查询服务包。
在activitylog.xml文件中,我看到错误:
<entry>
<record>5</record>
<time>2018/03/01 14:48:06.133</time>
<type>Error</type>
<source>VisualStudio</source>
<description>LegacySitePackage failed for package [Async Query Service Package]Source: 'Microsoft.VisualStudio.Shell.14.0' Description: Could not load file or assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
 at Microsoft.VisualStudio.Shell.ThreadHelper.SetUIThread()
 at Microsoft.VisualStudio.Shell.ServiceProvider.CreateFromSetSite(IServiceProvider sp)
 at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</description>
<guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
<hr>80070002</hr>
</entry>
我是否需要异步查询服务包?如何禁用它我不相信我需要它。
我只需要C ++语言。
我几乎遵循了这篇文章中的所有建议:
Packages not loading after installing visual studio 2015 RTM
但基本的卸载和重新安装并不能解决问题。
我该怎么做才能解决这个问题?