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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

failed when publish workflow to CRM: invalid assembly public key

(0) ShareShare
ReportReport
Posted on by 80

dynamic crm 2016 

Create a workflow by visual studio 2019 16.5.4, failed when register it by Plugin Registration Tool. but success when used visual studio 2015 to build it and deploy. I wonder to know why?

merge some dll to one used ilmerge after building.

16032.Capture.PNG

after checking the log of ILMerge, found a strange error as following. I wonder to know why?

Resolved assembly reference 'System.Data.SqlXml' to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Data.SqlXml.dll'. (Used referencing Module's directory.)
ILMerge error: The target assembly was not able to be strongly named (did you forget to use the /delaysign option?).

I have the same question (0)
  • Jomy Jose Profile Picture
    290 on at

    VS 2019 you may referenced to latest framework. Try to target the same to 4.5.2 and try

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Please follow steps mentioned in below article to fic your issue.

    thecrmclub.blogspot.com/.../how-to-fix-dynamics-crm-error-public-assembly-must-have-public-key-token.html

    Please mark my answer verified if I were helpful!

  • Steven Wang Profile Picture
    80 on at

    thanks for your reply. Yes, it is 4.5.2.

  • Steven Wang Profile Picture
    80 on at

    Still failed

  • Steven Wang Profile Picture
    80 on at

    Bipin Kumar, thanks for your reply, but I can't access this url.

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

News and Announcements

Season of Giving Solutions is Here!

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 > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 36 Super User 2025 Season 2

#2
Shivani Padalia Profile Picture

Shivani Padalia 36

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans