Visual studio not able to access registered Keyset to sign assembly while building project

Prachi Godse 0 Reputation points
2024-03-13T07:14:24.5466667+00:00

I have project which needs 'sign assembly' set to true while building/running. Operating system - windows 11

Installed certificate pfx with following command

-i "certificate pfx file name with related file path" "container ID"

After executing this command, message appears => "keypair installed in to <container ID>"

After successful installation of certificate keypair, When tried building project -- Build fails with below error ->
"Error signing output with public key from container 'container ID' -- Keyset does not exist (Exception from HRESULT: 0x80090016) "

Please note, This was working fine with my earlier environment with "windows 10" operating system

Not sure if windows 11 needs some additional privileges or permissions so that visual studio can access key container ?

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
966 questions
{count} votes