VS 2015打开项目闪退,新建项目提示未将对象引用到实例
因为开发需要,要把开发工具换成visual studio2015,装完之后会有警告“js”安装的问题,打开VS也没有问题,
但是一打开项目就闪退,新建项目也不行,查看应用程序日志,报错提示如下:
.NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).
解决方法:
进入注册表,按Win+R运行regedit,修改下面的“Enabled”值为0就可以了
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy\Enabled
坑爹