gpt4 book ai didi

MSBuild 错误 MSB4018 "SignTask"任务意外失败。在 VS2015

转载 作者:行者123 更新时间:2023-12-03 16:16:06 29 4
gpt4 key购买 nike

编译新项目时出现以下错误:

Severity    Code    Description Project File    Line    Suppression State
Error MSB4018 The "SignTask" task failed unexpectedly.
System.Security.Cryptography.CryptographicException: Acesso negado.

at Microsoft.DriverKit.Build.Shared.CreateCertificate.CryptAcquireContext(String keyContainerName, String providerName, PROV providerType)
at Microsoft.DriverKit.Build.Shared.CreateCertificate.CreateSelfSignedCertificate()
at Microsoft.DriverKit.Build.Tasks.SignTask.AutoGenerateTestCertificate()
at Microsoft.DriverKit.Build.Tasks.SignTask.AutoPickTestCertificate()
at Microsoft.DriverKit.Build.Tasks.SignTask.GenerateCommandLineCommands()
at Microsoft.Build.Utilities.ToolTask.Execute()
at Microsoft.DriverKit.Build.Tasks.TrackedVCToolTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() BrunoGysinDriver C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets 1348

我试了几次,但没有找到

有人知道解决方案吗?

最佳答案

有用!我有同样的问题,在管理员模式下运行有效!

关于MSBuild 错误 MSB4018 "SignTask"任务意外失败。在 VS2015,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36223909/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com