Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

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

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. 

  • Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: Plugin type not found in plugin assembly which has a total of 0 plugin/workflow activity types

    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.

  • Tim_Hof Profile Picture
    Tim_Hof 40 on at
    RE: Plugin type not found in plugin assembly which has a total of 0 plugin/workflow activity types

    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
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: Plugin type not found in plugin assembly which has a total of 0 plugin/workflow activity types

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans