Search Wiki:
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.

Last edited Oct 24 2008 at 3:19 AM  by phecke, version 2
Page view tracker