Download Developer Guide for Dynamics 365 Customer Engagement

Following my previous post about the issue with CRM v9 connection, I will cover another issue in v9 that you may encounter which is downloading the new CRM SDK.

Starting from version 9.0, the familiar CRM SDK is renamed to Developer Guide. There are a lot of updates to it also:

Refer this post for more details.

The reasons to this change, according to MS is:

To clear up confusion, and to be consistent with the terms we use for all our documentation

As mentioned in MS post, from now on, there are no SDK package download, you have to download components such as libraries, samples, and tools separately using Nuget. While there are many benefits with this new approach, you still want to download every thing in one go and you don’t want to create a new empty project and search for each components in Package Manager in Visual Studio, you can follow these simple steps:

  1. Start > type PowerShell > click PowerShell to open PowerShell window.
  2. cd <your folder>
  3. Copy/paste the following commands to the PowerShell window and hit Enter:

$sourceNugetExe = ""
$targetNugetExe = ".\nuget.exe"
Remove-Item .\Assemblies -Force -Recurse -ErrorAction Ignore
Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore
Remove-Item .\Samples -Force -Recurse -ErrorAction Ignore
Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe
Set-Alias nuget $targetNugetExe -Scope Global -Verbose

## Download tools
./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools
./nuget install Microsoft.CrmSdk.CoreTools -O .\Tools
./nuget install Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf -O .\Tools
./nuget install Microsoft.CrmSdk.XrmTooling.PackageDeployment.WPF -O .\Tools

## Download assemblies
./nuget install Microsoft.CrmSdk.CoreAssemblies -O .\Assemblies
./nuget install Microsoft.CrmSdk.Deployment -O .\Assemblies
./nuget install Microsoft.CrmSdk.Outlook -O .\Assemblies
./nuget install Microsoft.CrmSdk.Workflow -O .\Assemblies
./nuget install Microsoft.CrmSdk.XrmTooling.CoreAssembly -O .\Assemblies
./nuget install Microsoft.CrmSdk.XrmTooling.PackageDeployment.PowerShell -O .\Assemblies
./nuget install Microsoft.CrmSdk.XrmTooling.PackageDeployment -O .\Assemblies
./nuget install Microsoft.CrmSdk.XrmTooling.WpfControls -O .\Assemblies

## Download samples
./nuget install Microsoft.CrmSdk.Samples.HelperCode-CS -O .\Samples
./nuget install Microsoft.CrmSdk.WebApi.Samples.HelperCode -O .\Samples

Remove-Item nuget.exe

The components should be downloaded to three folder, and your folder should look like this:

  • <your folder>/Assemblies
  • <your folder>/Samples
  • <your folder>/Tools

If you want to download the latest version, just repeat the above steps.

Hope it helps!

One thought on “Download Developer Guide for Dynamics 365 Customer Engagement

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s