0
我遇到一个问题,阻止我在VS社区2015中创建新项目,甚至不让我构建或调试任何以前的有效项目。在VS社区2015中创建新项目或构建旧有效项目时出错
当我尝试创建新的项目(文件 - >新建 - >项目),我得到错误“不设置到对象的实例对象引用”一个消息。
当我尝试建立一个老有效的项目,我收到以下错误:
Severity Code Description Project File Line Suppression State
Error at System.Security.Cryptography.SHA256Managed..ctor() CopyTool
Error at Microsoft.CodeAnalysis.CommandLine.DesktopBuildClient.GetBasePipeName(String compilerExeDirectory) CopyTool
Error at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) CopyTool
Error at System.Security.Cryptography.SHA256.Create() CopyTool
Error at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) CopyTool
Error at Microsoft.CodeAnalysis.BuildTasks.ManagedCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) CopyTool
Error --- End of inner exception stack trace --- CopyTool
Error at Microsoft.CodeAnalysis.CommandLine.DesktopBuildClient.GetPipeNameForPath(String compilerExeDirectory) CopyTool
Error Unexpected exception: CopyTool
Error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. CopyTool
Error at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args) CopyTool
Error at Microsoft.CodeAnalysis.CommandLine.DesktopBuildClient.RunServerCompilation(RequestLanguage language, List`1 arguments, BuildPaths buildPaths, String keepAlive, String libEnvVariable, CancellationToken cancellationToken) CopyTool"
任何帮助将不胜感激! 谢谢! 奥勒利安