Subscribe to SDK assembly updates using NuGet
Applies to Dynamics 365 (online), version 9.x
.NET SDK assemblies and some command-line tools are available through a software distribution website called nuget.org. Use of NuGet packages in your application project enables you to keep your project up-to-date with the latest releases of the SDK assemblies and tools. Visual Studio has supported this capability since version 2010 and there is even a standalone NuGet client for those developers that don’t develop in Visual Studio. Another advantage of using NuGet packages in your projects is that assembly references and dependencies are automatically taken care of for you. NuGet packages are available for the Dynamics 365 (online) Customer Engagement SDK as well as for the previous versions – 2011 , 2013, and 2015.
Where to find the NuGet SDK packages
The Dynamics 365 SDK packages are found under the crmsdk profile. These are the official Dynamics 365 SDK packages. Select any package in the list to navigate to the package details page. The following are the current NuGet packages relevant for Dynamics 365 (online), version 9.0.
|Microsoft.CrmSdk.CoreAssemblies||Contains the Microsoft.Xrm.Sdk.dll and Microsoft.Crm.Sdk.Proxy.dll assemblies plus tools|
|Microsoft.CrmSdk.CoreTools||Contains the SDK tools authored by the Microsoft Dynamics 365 team.|
|Microsoft.CrmSdk.Deployment||Contains the Microsoft.Xrm.Sdk.Deployment.dll assembly|
|Microsoft.CrmSdk.Outlook||Contains the Microsoft.Crm.Outlook.dll assembly|
|Microsoft.CrmSdk.Samples.HelperCode-CS||C# helper code authored by the Microsoft Dynamics 365 Customer Engagement Developer Documentation team. This code is for use against the Organization Service endpoint.|
|Microsoft.CrmSdk.WebApi.Samples.HelperCode||C# helper code authored by the Microsoft Dynamics 365 Customer Engagement Developer documentation team. This code is for use with the Web API. These classes provide web service authentication for both on-premises and online deployments, error handling, and connection string configuration. These classes are used in our Web API samples|
|Microsoft.CrmSdk.Workflow||Contains the Microsoft.Xrm.Sdk.Workflow.dll assembly|
|Microsoft.CrmSdk.XrmTooling.CoreAssembly||Contains the Microsoft.Xrm.Tooling.Connector assembly|
|Microsoft.CrmSdk.XrmTooling.CrmConnector.PowerShell||Contains the assemblies for Xrm.Tooling.Connector Powershell|
|Microsoft.CrmSdk.XrmTooling.PackageDeployment.PowerShell||Contains the assemblies for Package Deployer Powershell|
|Microsoft.CrmSdk.XrmTooling.PackageDeployment.Wpf||Contains the Dynamics 365 Package Deployer|
|Microsoft.CrmSdk.XrmTooling.PackageDeployment||Contains the Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.dll assembly|
|Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool||Contains the Plugin Registration Tool required to manage Plugin assemblies,Workflow assemblies,Virtual Entitles, and Service endpoints for Microsoft Dynamics 365.|
|Microsoft.CrmSdk.XrmTooling.WpfControls||Contains the Microsoft.Xrm.Tooling.CrmConnectControl.dll, Microsoft.Xrm.Tooling.Ui.Styles.dll, and Microsoft.Xrm.Tooling.WebResourceUtility.dll assemblies|
On the package details page, select any package with a version number starting with 8.x. The package title indicates that the version of the package is for the Dynamics 365 SDK. The package targets .NET Framework 4.5.2.
On the package details page, select any package with a version number starting with 7.x. The package title indicates that the version of the package is for the CRM 2015 SDK. The package targets .NET Framework 4.5.2.
On the package details page, select any package with a version number starting with 6.x. The package title indicates that the version of the package is for the CRM 2013 SDK. The package targets .NET Framework 4. Beginning with package version 6.1.1, the package also targets .NET Framework 4.5.
On the package details page, select any package with a version number starting with 5.x. The package title indicates that the version of the package is for the CRM 2011 SDK. The package targets .NET Framework 4.
How to install a package in your project
For information about installing NuGet packages into your project, see Managing NuGet Packages Using the Dialog.