Export (0) Print
Expand All

Create a new Developer Toolkit project

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Like any Visual Studio solution, you begin by creating a new project. In the New Project dialog box under Visual C#, select the Dynamics CRM group to view the available project templates.

Project template options

The following table introduces the available project templates.

 

Project template option Description

New Visual Studio Solution Template for Dynamics CRM 2013

Solution template for creating a new instance of a Visual Studio Solution for Microsoft Dynamics CRM 2013.

Dynamics CRM 2013 Plug-in Library

Project template for creating a new Microsoft Dynamics CRM 2013 Plug-in class library (.dll).

Dynamics CRM 2013 Workflow Library

Project template for creating a new Microsoft Dynamics CRM 2013 Workflow class library (.dll).

Dynamics CRM 2013 Package

Project for creating a Microsoft Dynamics CRM 2013 Package project.

Dynamics CRM 2013 XAML Workflow Library

Project template for creating CRM Workflows using the Visual Studio Workflow Designer.

noteNote
Below the Installed Templates for Visual C#, you will see a CRM Workflow Library group that contains some CRM Workflow Library project templates. Do not use these project templates.

The New Visual Studio Solution Template for Dynamics CRM 2013 project creates the following types of solution components:

  • Silverlight Application

  • Plug-in Library

  • Workflow Library

  • Web Resources (part of the CrmPackage project)

noteNote
By default, a XAML Workflow Library is not included.

The New Visual Studio Solution Template for Dynamics CRM 2013 is a good starting point for any new solution. You can add and remove new projects to and from the solution. You should not remove the CrmPackage project.

The Dynamics CRM 2013 Plug-in Library, Dynamics CRM 2013 Workflow Library, and Dynamics CRM 2013 XAML Workflow Library project templates are typically used for more advanced scenarios where you may want to add multiple assemblies to a project or if you are only interested in developing that specific component. Before you can deploy a solution that contains only a project of these types, you must add a Dynamics CRM 2013 Package (CrmPackage) project to the solution.

You can add a regular Silverlight Application project to your CRM solution. When you add a Silverlight application, do not select the option to host the Silverlight application in a new website. You can also add a CRM Package project to an existing Silverlight Application project to enable deploying it to Microsoft Dynamics CRM.

noteNote
A Microsoft Dynamics CRM solution can contain only a single CrmPackage project.

Managing projects

Use the following procedures to manage your Visual Studio solution.

  1. Right-click the solution and select Add and then New Project.

  2. Select one of the following from the installed templates under Visual C#:

    • Dynamics CRM > Dynamics CRM 2013 Plug-in Library

    • Dynamics CRM > Dynamics CRM 2013 Workflow Library

    • Dynamics CRM > Dynamics CRM 2013 XAML Workflow Library

    • Silverlight > Silverlight Application

  1. Right-click the solution and select Add and then Existing Project.

  2. Navigate to the .csprog file that represents the project you want to add.

  3. In the CrmPackage project, right-click the References and select Add Reference.

  4. In the Projects tab of the Add Reference dialog box, select the projects and then click Add to add them to the list of selected projects and components.

  5. Click OK to add the projects and close the Add Reference dialog box.

  • Right-click the project and select Remove. The project will automatically be removed from the CrmPackage references.

See Also

Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft