title: MSBuild error MSB4018 The "SignTask" task failed unexpectedly. In VS2015
body: <p>when you compile a new project the following error appears:</p>
  
  <pre><code>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.&lt;ExecuteInstantiatedTask&gt;d__26.MoveNext() BrunoGysinDriver    C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets   1348    
  </code></pre>
  
  <p>I tried several times but nothing found</p>
  
  <p>Anyone know a solution?</p>