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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Plugin type not found in plugin assembly which has a total of 0 plugin/workflow activity types

(0) ShareShare
ReportReport
Posted on by 40

I want to change code in a plugin which is build by a third-party and later adjusted by an external freelancer. 
When I update the unadjusted .dll file in the plugin registration tool, it is able to update. 

However, from the moment that I open the solution in VS studio, (re)build the solution and try to update the assembly with the new .dll file, I get the error as shown below:

pastedimage1626873923234v3.png

The solution was first under source control, which gave an error when opening visual studio. That is fixed by this issue:
https://social.msdn.microsoft.com/Forums/officeocs/en-US/fa861393-5996-48fa-a2ef-14bed0bd2b74/how-to-remove-a-solution-from-source-control

However, I still get this error message. I contacted the freelancer who worked previously on this project, and he can't find a quick solution either.

So far I have tried to 
- Set 'Copy local' for Microsoft.Xrm.SDK and Microsoft.Xrm.Sdk.Proxy to false as mentioned here:
community.dynamics.com/.../plugintype-not-found-in-pluginassembly-which-has-a-total-of-0-plugin-workflow-activity-types
- Register solution with a different version number 

Both still gave the same error. Hopefully any of you can help me out. 

I have the same question (0)
  • Guido Preite Profile Picture
    54,086 Moderator on at

    from the screenshot looks like that your updated assembly contains just a single plugin? (the one that is checked in the screenshot)

    technically when you update a plugin all should be checked, if the new assembly doesn't contain the existing plugins that can lead to errors

    sorry but without having access and understand how is the source code of this plugin it's difficult to provide useful suggestions for this kind of situation

  • Tim_Hof Profile Picture
    40 on at

    Dear Guido,

    Thanks for your quick reaction, when I check all the plugins, I get the same error message for each separate plugin.

    What kind of understanding of the sourcecode would help?

  • Guido Preite Profile Picture
    54,086 Moderator on at

    personally I would probably create first a disassembled version of the registered plugin (there is an XrmToolBox tool to do that) and verify against the source code you have if the plugins match. This assuming the signed file (.snk file) you have inside the source code is the correct one (but probably is otherwise you should get a different error)

    As I wrote before (at least for me) there isn't a straight path to follow in this kind of scenario, try and try until understand what happened.

  • CU16010314-0 Profile Picture
    4 on at
    Thaks a lot. I used you solution to solve my issue. It works well.

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans