解决安装后VS2013、2015、2022启动报错,提示查看Activitylog.xml的问题

xingyun86 10月前 315

1、在安装目录里面找到 devenv.exe 这个文件的所在位置C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

2、点击左下角图标,在输入框输入cmd进入控制台

3、在控制台命令行输入cd C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

4、最后输入devenv /log,按enter键就行了

再次打开Visual Studio,就不会再出现了

按照该方法未能解决问题。

继续度娘,说运行devenv /log之前,先运行devenv /ResetSkipPkgs。

未能解决问题,继续。

最终解决方法:

把Users\...\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache中的Microsoft.VisualStudio.Default.cache这个文件移除

如果是VS2022把Users\...\AppData\Local\Microsoft\VisualStudio\17.0_43414cba中的privateregistry.bin这个文件移除

,再重启vs,各项功能都能正常使用了


×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回