MSDN Archive Home
Help and FAQs
Visual Studio Template for Microsoft Dynamics CRM Plug-ins
All Resource Updates
Change History (all pages)
Resource Page Description
This download is my attempt at a standard Visual Studio 2008 template to provide the basic starting point for writing a plug-in. In the code template provided I have included the following features:
• A plug-in constructor that supports passing secure and non-secure information to the plug-in
• A standard Execute method that retrieves and verifies information from the passed context parameter
• Web service proxy instantiation
• Basic handling of SOAP exceptions
• Custom methods that instantiate the Web service proxies for those plug-ins that execute in a child pipeline
The complete plug-in template can be downloaded from the Downloads tab on this page. To install the template into Visual Studio 2008, copy the downloaded zip file into your Visual Studio 2008\Templates\ProjectTemplates\Visual C# (or Visual Basic) folder.
To use the template, simply create a new project in Visual Studio, select a C# or Visual Basic project type in the New Project dialog box, and then select the MSCRM Plug-in template.
After creating the new project, you may need to remove and then add the project references to the Microsoft.Crm.Sdk and Microsoft.Crm.SdkTypeProxy assemblies in Solution Explorer if Visual Studio cannot find the assemblies on your system when you build the project. In the project’s property page on the Signing tab, remember to check 'Sign the assembly' and create a new key file.
**Delete the following note before publishing **
This resource page is currently in setup mode and only available to coordinators and developers. Once you have finished setting up your resource page you can publish it to make it available to all MSDN Code Gallery visitors.
To get your Resource Page ready to publish, you should do the following:
Make any changes to the details of your resource page
Here you can enable or disable functions of your resource page. You might want to turn on the Issue Tracker to allow users to provide feedback on your resource, or if you have a resource that does not involve a code sample, you may want to turn off the Releases tab.
Make sure your resource page description is detailed enough to let people search for your resource.
Add your code sample or other resources to the resource page
If you’re uploading code, go to the Releases tab and create a new release to house your code. Creating a release allows you to have the license properly displayed when people download your code, as well as provides a download count.
Edit your Wiki page to attach any resources you may have that are not source code.
If you want to let someone see your resource page before it is published, go to the People tab and add them to your resource page
This will let you add other team members who may be contributing to your resource, or just show it off and get feedback from someone you trust.
Tag your resource page with descriptive tags to make it easier for people to find your resources when browsing the gallery.
Publish your resource page so it becomes visible to everyone!
Additional information on starting a new resource page is available here:
Resource Page Startup Guide
Oct 24 2008 at 2:58 AM
, version 1
Sign in to add a comment
MSCRM plug-in template...
Fri Oct 24 2008 at 7:00 AM
More Tags ...
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.