Error
T he "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) NewMobileDist
The Above Error VB.Net Solve Methods
1. Open Solution Explorer in vb.net then Right Click the Project ---> Choose Properties (See Below Image)
2.Choose Signing and Click to Create Test Certificate Button type password two time (Ex : 12345)click to Ok
3. Project Menu -- >Clean Solution Click
4. Project Menu ---> Build
5. Check Error List . Error Solved
T he "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) NewMobileDist
The Above Error VB.Net Solve Methods
1. Open Solution Explorer in vb.net then Right Click the Project ---> Choose Properties (See Below Image)
2.Choose Signing and Click to Create Test Certificate Button type password two time (Ex : 12345)click to Ok
3. Project Menu -- >Clean Solution Click
4. Project Menu ---> Build
5. Check Error List . Error Solved
Comment Your Feedback And Don't Forget To Share Us! :-)
No comments:
Write comments