Editar

Compartilhar via


Subscribe to SDK assembly updates using NuGet

Microsoft Dataverse SDK for .NET assemblies and some command-line tools are available through a software distribution website called NuGet. 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.

Where to find the NuGet SDK packages

The complete list of available Dataverse SDK packages are found under the crmsdk profile on the NuGet site. These are the official packages produced by the Dataverse product teams at Microsoft. The following list highlights some of the packages you might use depending on what kind of code you are writing.

Microsoft.CrmSdk.CoreAssemblies
Contains the Microsoft.Xrm.Sdk.dll and Microsoft.Crm.Sdk.Proxy.dll assemblies when targeting .NET Framework development.

Microsoft.PowerPlatform.Dataverse.Client
Contains the Microsoft.Xrm.Sdk.dll and Microsoft.Crm.Sdk.Proxy.dll assemblies when targeting .NET Framework and .NET Core development. Use this package, instead of CoreAssemblies, for new Dataverse development.

Microsoft.CrmSdk.CoreTools
Contains Dataverse development tools. See Dataverse development tools for instructions on how to install and update these tools.

Microsoft.CrmSdk.Deployment
Contains the Microsoft.Xrm.Sdk.Deployment.dll assembly. Use this package for deployment, configuration, and monitoring of organizations (environments).

Microsoft.CrmSdk.Outlook
Contains the Microsoft.Crm.Outlook.dll assembly. Use this package for Outlook client and service related development.

Microsoft.CrmSdk.Workflow
Contains the Microsoft.Xrm.Sdk.Workflow.dll assembly. Use this package for custom workflow activity development.

Microsoft.CrmSdk.XrmTooling.CoreAssembly
Contains the Microsoft.Xrm.Tooling.Connector assembly. Use this package for XRM Tooling based Windows client application development.

Microsoft.CrmSdk.XrmTooling.CrmConnector.PowerShell
Contains the assemblies for using the XRM Tooling connector with Powershell.

Microsoft.CrmSdk.XrmTooling.PackageDeployment.PowerShell
Contains the assemblies for Dataverse package deployment using Powershell.

Microsoft.CrmSdk.XrmTooling.PackageDeployment
Contains the Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.dll assembly.

Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool
Contains the Plug-in Registration tool used for registering plug-in assemblies, custom workflow activity assemblies, virtual entitles, and service endpoints with Dataverse. See Dataverse development tools for instructions on how to install and update the tool.

How to install a package in your project

For information about installing NuGet packages into your project, see Install and manage packages in Visual Studio using the NuGet Package Manager.

See also

NuGet Documentation
Install NuGet client tools