This package contains the official SDK tools authored by the Microsoft Common Data Service SDK team.
The included command line tools are installed in the project's bin\coretools folder.

There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.CrmSdk.CoreTools -Version
dotnet add package Microsoft.CrmSdk.CoreTools --version
<PackageReference Include="Microsoft.CrmSdk.CoreTools" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.CrmSdk.CoreTools --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

These tools may be used for application and solution development. The Microsoft .NET Framework 4.6.2 must be installed on the computer where these tools are to execute.

For information about downloading the tools, see
           ADAL 3.19+ is now required for this library.  ADAL 2.x clients will need to be updated to use ADAL 3.x+
           Added Support for Current User ID login when using Online flows with oAuth ( Including constructor/connection string support )
           Added Support for ClientID Secret Auth when using oAuth flows. ( Including constructor/connection string support )

           - support for Environment Variables (definitions and values)
           - support for Connectors
           - when packing components/subcomponents that distinguish unmanaged and managed XML files (e.g. AppModuleSiteMap, AppModule, FormXml),
             then use an unmanaged file if a '*_managed.xml' file cannot be found
             This is an opt-in behavior, selected by the new command line param: '/useUnmanagedFileForMissingManaged'
           - fixed NullReferenceException when package type was not specified and packaging both managed & unmanaged
           bug fixes SolutionPackager:
           - allow relative folder paths (no longer 'invalid URL' errors)
           - RootComponentValidation for generic components now only warns, since a generic component cannot be validated
           bug fixes:
           - CustomControl: issue helpful warnings and auto-generate metadata XML for incompletely migrated PCF controls
           - CrmServiceUtil: fix its assembly version to (binary content already had 9.x functionality, but previous version showed misleadingly as being 8.x)
           SolutionPackager: pack from single AppModuleSiteMaps file for packageType=both unless an explicit AppModuleSiteMap_managed.xml file is found
           CrmSvcUtil: Added Support for China Geo
           - support extract/pack for CustomControls, their custom manifest and control resources
           - support extract/pack Flow and CanvasApp
           - support extract/pack for not yet supported components; information in Customizations.xml and component files
           will be extracted and packed without roundtrip loss, but no parsing or component-specific checks
           Fixed bug in CrmServiceClient which would cause some OnPrem connections to fail with an error "Item already added to List"
           Minor Pref Improvements
           Updated to include Fixed version of CrmServiceClient and login control for new US Geo ( US Gov High )
           Applies to CrmSvcUtil primarily
           Note .net 4.6.2 is now required as a baseline
           Fixed AppModuleSiteMap to support both unmanaged and managed local files side-by-side
           Corrected Code Sign issue on SolutionPackager
           Updated for CDS/XRM release
           Fixed an issue in SolutionPackager.exe where it was incorrectly adding a visualizations node to savedqueries nodes
      Updated for CDS/XRM release
           Updated with Xrm.Tooling.Connector support
           Added new dependencies for Xrm.Tooling.Connector.dll Adding missing file for interactive use of CrmServiceUtil.  Will enabled the /il switch. 9.0 Initial Release
           9.0 Initial Release
               Major updates to solution packager to support new component types. *note: SolutionPackager 8.x is not compatible with all component types in 9.x +
               New interfaces to support certificate based auth.
               Added support to skip discovery
               Added Clone connection support of OAuth based connections
               Added New Authentication type to support externally hosted auth.
               **Note: Interface for Xrm.Tooling.Connector is *NOT* Final. there are new API interfaces that will be surfaced before GA.
               Seveal preformance updates.
       Fix to memory leak in Microsoft.Xrm.Tooling.Connector.TraceLoggerBase.  Trace Listener collection would not be released within a process over a very long time frame over multiple connections. This would manifest as increasing memory consumption over a very long period.
       Fix cleans this up on the .dispose() call on the CrmServiceClient.
       Note: if you have built your own logger based on the Microsoft.Xrm.Tooling.Connector.TraceLoggerBase, you must call .dispose() when you are done with it to clean up the listener collection assigned to it.
       Addressed an issue with customers who use optionset type generators and or linq class access that do not have a handler to define type enum’s for optionsets.  This update will provide support for older behaviors in addition to supporting developer who use enum based optionset generators
           CrmSvcUtil.exe :
               Updated to correct version of crmsvcutil for the current version of CRM that exposes all command line switches
               Fixes in dependency mapper and that caused issues with some solutions Fix of dependency issue in nuget package. Now properly requires .net 4.5.2 as a baseline Refreshed from current release
       Fixed site map packing issue in solutionpackager.exe
       8.2.0: Removed Deprecated Assemblies and Executables. Updated to current bits. Updated the Microsoft.IdentityModel.Clients.ActiveDirectory assemblies as required by the Xrm Tooling assemblies.
       8.1.0: CRM Online 2016 Update 1
       8.1-preview: Pre-release CRM Online 2016 Update 1 UR1 (Update Rollup 1) with customer related hotfix
       8.0.2: UR1 (Update Rollup 1)
       8.0.1: GA (General Availability)
       8.0.0: RTM release

* The CrmSvcUtil.exe program has been updated with additional command line parameters. For more information, run the program with no parameters to see the online help.


This package has no dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Microsoft.CrmSdk.CoreTools:

Package Downloads
Simple and Lightweight deployment task runner for Dynamics 365
MSBuild.Xrm.SourceControl provides a simple but powerful method for extracting Dynamics 365 customisations. The extension uses PowerShell scripts that can seamlessly extract customisations from a Dynamics 365 instance and then subsequently rebuild them into a zipped Solution file ready for import when necessary. The scripts use the SolutionPackager.exe tool provided by the Dynamics 365 SDK. It supports file mappings, managed and unmanaged solutions, and the export of AutoNumber and Calendar settings. Please find the documentation through the Project Site link.
A library with extensions to CRMSvcUtil
Create Dynamics 365 plugins according to SOLID software princips. This package provide the basic infrastructur for building plugins with services and inject these into the Dynamics 365 plugin pipeline.
The package contains a library which provides some usefull classes, which can be injected in the code generation process of the CrmSvcUtil.exe. The interfaces are documented at

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Microsoft.CrmSdk.CoreTools:

Repository Stars
An open-source library for building Dynamics CRM XRM solutions using Script#, jQuery & Knockoutjs.
xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.

Version History

Version Downloads Last updated 124,108 7/15/2020 16,466 7/1/2020 73,683 6/12/2020 17,826 6/2/2020 26,623 4/20/2020 154 4/20/2020 175,724 3/25/2020 83,994 2/11/2020 47,751 12/18/2019 19,579 12/5/2019 17,710 11/7/2019 5,872 10/25/2019 85,920 10/16/2019 17,805 9/11/2019 77,385 5/23/2019 109,082 4/3/2019 52,402 2/28/2019 9,104 2/7/2019 108,159 9/20/2018 8,675 9/17/2018 29,643 7/6/2018 150,364 11/15/2017 1,865 10/23/2017 52,211 8/29/2017 46,439 4/12/2017 2,849 3/22/2017 1,232 3/3/2017 2,627 12/10/2016
8.2.0 4,315 11/3/2016 30,305 5/26/2016 928 5/9/2016
8.1.0-preview 664 4/21/2016 4,146 2/22/2016
8.0.2 603 2/20/2016
8.0.1 24,064 12/15/2015
8.0.0 1,615 12/3/2015
8.0.0-preview2 478 11/23/2015
7.1.1 5,137 8/21/2015
7.1.0 3,270 4/28/2015
7.1.0-preview 520 3/17/2015
7.0.1 3,186 3/10/2015 2,137 1/14/2015 838 12/3/2014 752 12/2/2014
7.0.0 1,015 10/23/2014
Show less