Skip to main content

Notifications

Community site session details

Community site session details

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

Plugin type not found in PluginAssembly  which has a total of [0] plugin/workflow activity types.

(1) ShareShare
ReportReport
Posted on by 4
Hi Experts,

I have a created a solution with two projects 1) Trainig Plugins  and 2) PluginBase

In the Plugin Base project , I have created a new class file (BasePlugin) as an abstract class inherited it to IPlugin interface  so that it can be reusabale for all other projects



In the Training project , I have created a new class which includes the logic to create a contact on create of account and I have inherited the BasePlugin abstract class  

 
After building the solution and while trying to register the assembly I am getting below error.
 
 Microsoft.Crm.CrmException: PluginType [Training.Plugins.CreateContactOnAccountCreation] not found in PluginAssembly  which has a total of [0] plugin/workflow activity types.
 
 
  • Suggested answer
    Ray Profile Picture
    1,483 on at
    Plugin type not found in PluginAssembly  which has a total of [0] plugin/workflow activity types.
    I don't know how you build solution successfully, there is not construct function defined in BasePlugin that take one parameter.
     
    I think you should delete these code:
            public CreateContactOnAccountCreation(string unsecureConfiguration, string secureConfiguration)
                : base(typeof(CreateContactOnAccountCreation))
            {
                
            }

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,309 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,162 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans