How to do it...

  1. Start Visual Studio.
  2. Create a new solution by selecting New | Project from the File menu.
  3. In the New Project dialog, select Blank Solution from the Visual Studio Solutions templates.
  4. Ensure that the selected .NET framework version matches the recommended version of your Dynamics 365 instance. In our example, Dynamics 365 uses .NET 4.5.2.
  5. Give your solution a name, following your project's convention. Type Packt.Xrm.Extensions in the Name field.
  1. It is highly recommended that you keep the Add to source control checkbox ticked to store your source code in source control:
  1. Click on OK.
  2. Right-click on your solution in the Visual Studio Solution explorer window and select Add | New Project.
  3. Select Class Library and give your project the name Packt.Xrm.Extensions.CoreCrm.
  4. Click on OK.
  5. Right-click on your new project's references and select Manage NuGet Packages....
  1. Search for CRM XrmTooling core assemblies using the top-right search field in the Manage Nuget Packages dialog:
  1. Locate the Microsoft.CrmSdk.XrmTooling.CoreAssemblies package that matches your Dynamics CRM instance version and install it by clicking on the Install button.
  2. Click on the I Accept button after having read and agreed to the license details in the License Acceptance dialog.
  3. Right-click on your project and select properties.
  4. Click on the Sign the assembly tick box in the Signing tab and select an existing signing key, or create a new one. You can optionally create a password for your signing key.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset