求助:系统重装后,原来的项目不能运行?
系统重装和vs2005后,原来的项目不能运行?
编译好的exe文件可运行,但是就是不能.net直接运行。不知道是什么原因。
下面是错误提示:
Error 1 The "ResolveKeySource" task failed unexpectedly.
System.Security.Cryptography.CryptographicException: Cannot find the requested object.
at System.Security.Cryptography.X509Certificates.X509Certificate2.QueryCertFileType(String fileName)
at System.Security.Cryptography.X509Certificates.X509Certificate2.GetCertContentType(String fileName)
at Microsoft.Build.Tasks.ResolveKeySource.ResolveManifestKey()
at Microsoft.Build.Tasks.ResolveKeySource.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) Shell(项目名称)