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 When Creating MS CRM plugin using VB 2012

(0) ShareShare
ReportReport
Posted on by

I got this following error when trying to create plugin project within VS 2012. I used CRM 2013 SDK for MS CRM Online 2015. I have changed .net framework but nothing happen to this issue.
0882.Untitled.jpg

Regards

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    When you create a plugin, you need to implement IPlugin, not Plugin. Here's a good working example: msdn.microsoft.com/.../gg594416.aspx

    If this helps I'd appreciate if you marked this as a Verified answer.

    Thanks,

     Aiden

  • Community Member Profile Picture
    on at

    Hi, actually i following this video to create simple plugin.

    www.youtube.com/watch

    But when i face this issue when following the video tutorial above

  • Erry Handani Profile Picture
    95 on at

    Hi,

    Have you created "plugin.cs" file? And make sure you use 2015 versions of Xrm.Sdk as reference for CRM 2015 solution.

  • Community Member Profile Picture
    on at

    Hey its done, i dunno what was i did, but when i rebuild the project and named by its default name the issues is gone.

  • Aiden Kaskela Profile Picture
    19,696 on at

    The problem was the class you were deriving from. You need to implement the IPlugin interface as was done in the video (screenshot below). Your class was trying to derive from "Plugin" (no I), which isn't a valid class.

    1464.plugin.png

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