locked
error MSB4018: “SignTask”任务意外失败。 RRS feed

  • 问题

  • 1> MyDriver1.vcxproj - > D:\ VS_Code \ MyDriver1 \ Debug \ MyDriver1.sys
    1> C:\ Program Files(x86)\ Windows Kits \ 10 \ build \ WindowsDriver.common.targets(1373,5):错误MSB4018 :“SignTask”任务意外失败
    .1> C:\ Program Files(x86)\ Windows Kits \ 10 \ build \ WindowsDriver.common.targets(1373,5):错误MSB4018:System.Security.Cryptography.CryptographicException:拒绝访问。
    2019年1月17日 5:54

全部回复

  • 解决方案中,选择工程右键,选择“属性”,在配置属性中选择“Driver Signing”,将 “Sign mode” 修改为 “Off”
    2019年7月16日 5:35
  • change "sign mode" to off, still not work. change windows login user to administrator works.

    from windows startup, run Visual Studio with administrator mode works.

    2021年5月8日 6:31