Issue with plugin signing assembly in Visual Studio 2022 Professional

saitej gundu 0 Reputation points
2023-12-06T14:55:35.24+00:00

Screenshot 2023-12-06 195007.png

Hi Team,

once we design a class library for the plugin development in dynamics 365, as per the process we need to be signing the key for the assembly which was built on class library. Also used .netframework 4.7.2 in visual studio professional 2022 in windows 11 pro.

please find the attached screenshot of the error in attachment and kindly please provide any inputs.

Thanks

Sai Tej

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2023-12-07T03:02:49.7+00:00

    Hello @saitej gundu ,

    Welcome to Microsoft Q&A forum.

    The error message indicates that access is denied, please try to navigate to C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys and assign access to the key container.

    Right-click the folder => Properties => Security => choose the account => Edit => assign permissions.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.