web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error Visual Studio Developer Toolkit: Public Assembly must have public key.

(0) ShareShare
ReportReport
Posted on by

Hello,

I have been working with the Visual Studio Developer Toolkit plugin, added it to my Visual Studio 2012. What is happening is that I created a new project and added some existence Web Resource, I make some changes over that and when I was going to deploy the resource again, it throw the following message:

"Error registering plugins and/or workflows. Public Assembly must have public key"

I'm really not sure of what I need to do, I added a public key but still without work.

Image-_2D00_-error.JPG

Thank you very much,

I will appreciate any help, 

Regards.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Just to confirm have you signed the plugin/workflow assembly? Here's how its done . . .

    1. In the Properties of the plug-in project, on the Signing tab, select the Sign the assembly check box and set the strong name key file of your choice.At a minimum, you must specify a new key file name. Do not protect your key file by using a password.

  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    If you are only deploying web resources - you can delete the Plugin and Workflow projects. These projects are likely blocking your deploy because they both need to be signed with a key.

    Hope this helps,

    Scott

  • Community Member Profile Picture
    on at

    I have set the public key, I did all steps before. This time I added a key but with a password. And there show me another error related to the assembly I don't know why.

  • Community Member Profile Picture
    on at

    Scott you are simple right,

    thank you very much,

    Greetings.

  • CU21020959-0 Profile Picture
    2,601 on at

    Thanks for this Scott, the Workflow was blocking the deployment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans