Microsoft.CrmSdk.CoreTools 9.1.0.159

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.CrmSdk.CoreTools --version 9.1.0.159                
NuGet\Install-Package Microsoft.CrmSdk.CoreTools -Version 9.1.0.159                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.CrmSdk.CoreTools" Version="9.1.0.159" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.CrmSdk.CoreTools --version 9.1.0.159                
#r "nuget: Microsoft.CrmSdk.CoreTools, 9.1.0.159"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.CrmSdk.CoreTools as a Cake Addin
#addin nuget:?package=Microsoft.CrmSdk.CoreTools&version=9.1.0.159

// Install Microsoft.CrmSdk.CoreTools as a Cake Tool
#tool nuget:?package=Microsoft.CrmSdk.CoreTools&version=9.1.0.159                

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 are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (13)

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

Package Downloads
spkl

Simple and Lightweight deployment task runner for Dynamics 365

Kipon.Solid.Plugin

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.

XrmToolkit.ProxyGeneration.Extensions

Provides core interfaces/classes for use during proxy class generation with XrmToolkit.

MsBuild.Xrm.SourceControl

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.

Kipon.Xrm.Tools

Kipon.Xrm.Tools - tool to generate and deploy Dynamics 365 CE items

GitHub repositories (2)

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

Repository Stars
scottdurow/SparkleXrm
An open-source library for building Dynamics CRM XRM solutions using Script#, jQuery & Knockoutjs.
WaelHamze/xrm-ci-framework
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 Downloads Last updated
9.1.0.179 29,112 7/13/2024
9.1.0.159 110,373 11/28/2023
9.1.0.158 11,410 11/8/2023
9.1.0.155 72,528 7/20/2023
9.1.0.146 70,098 4/21/2023
9.1.0.144 3,476 4/20/2023
9.1.0.115 204,575 7/11/2022
9.1.0.111 2,150,673 5/13/2022
9.1.0.110 41,510 4/25/2022
9.1.0.108 83,673 3/9/2022
9.1.0.92 1,561,294 10/25/2021
9.1.0.90 354,382 9/22/2021
9.1.0.88 58,973 8/30/2021
9.1.0.79 556,349 4/29/2021
9.1.0.77 22,329 4/7/2021
9.1.0.68 172,173 1/6/2021
9.1.0.64 628,820 11/20/2020
9.1.0.49 506,242 7/15/2020
9.1.0.46 34,947 7/1/2020
9.1.0.44 99,363 6/12/2020
9.1.0.43 52,057 6/2/2020
9.1.0.42 73,590 4/20/2020
9.1.0.41 3,583 4/20/2020
9.1.0.39 262,581 3/25/2020
9.1.0.38 111,690 2/11/2020
9.1.0.26 114,160 12/18/2019
9.1.0.25 91,772 12/5/2019
9.1.0.22 26,184 11/7/2019
9.1.0.21 12,621 10/25/2019
9.1.0.17 90,276 10/16/2019
9.1.0.13 35,423 9/11/2019
9.0.3.4 136,151 5/23/2019
9.0.3.1 133,985 4/3/2019
9.0.2.12 97,470 2/28/2019
9.0.2.11 15,389 2/7/2019
9.0.2.6 164,974 9/20/2018
9.0.2.5 16,719 9/17/2018
9.0.2.4 44,205 7/6/2018
9.0.0.7 236,346 11/15/2017
9.0.0.5 6,220 10/23/2017
9.0.0.4-Preview 56,492 8/29/2017
8.2.0.5 105,232 4/12/2017
8.2.0.4 8,069 3/22/2017
8.2.0.3 5,188 3/3/2017
8.2.0.1 6,435 12/10/2016
8.2.0 12,098 11/3/2016
8.1.0.2 42,741 5/26/2016
8.1.0.1 5,404 5/9/2016
8.1.0-preview 4,316 4/21/2016
8.0.2.1 17,509 2/22/2016
8.0.2 4,481 2/20/2016
8.0.1 41,126 12/15/2015
8.0.0 8,707 12/3/2015
8.0.0-preview2 4,304 11/23/2015
7.1.1 9,141 8/21/2015
7.1.0 13,147 4/28/2015
7.1.0-preview 4,536 3/17/2015
7.0.1 10,447 3/10/2015
7.0.0.3 6,531 1/14/2015
7.0.0.2 5,360 12/3/2014
7.0.0.1 5,010 12/2/2014
7.0.0 5,623 10/23/2014

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 https://docs.microsoft.com/dynamics365/customer-engagement/developer/download-tools-nuget

9.1.0.159:
   SolutionPackager:
       - fix unpacking of AppModules to correct directory

9.1.0.144:
   SolutionPackager:
       - fix exception "key item already exists" when packaging solutions with CanvasApps and packageType:Both

9.1.0.110:
   CrmServiceClientUtil:
       - Added #pragma warning disable CS1591 / #pragma warning restore CS1591 surrounding generated code for C# to comply with Code Quality rules.
       - Moved CrmServiceUtil Version number to a normal comment in the code vs a NS comment.
       - support for Korea and Norway GEOs

9.1.0.108:
   SolutionPackager:
- Added new behavior to sync the fully qualified name of a plugin in a solution assets to the fully qualified name of the plugin included in the solution itself.
           Enabled by default, can be disabled by setting /fp:false on command line.
           Effective only during Pack Operations.
           This will allow you to use the file mapping features of solutionpackager for plugins and maintain the public signature of the PluginAssembly build added to the solution.
       - fix handling of CanvasApp where app name and paths to composite files (.msapp, image) differ; file name reference in meta xml is now source of truth
   - fixed bool options on cmdline to accept true / false vs existing + / -.
  
   CrmServiceUtil:    
       Formalized EXPERIMENTAL options to cmdline properties.
       - Added support for filtering the entities codegenerated via command line switch.  /entitynamesfilter:<semicolon list>
           Ex:  /entitynamesfilter:account;contact;lead - will emit only the account, contact and lead entities
       - Added support for filtering the messages codegenerated via command line switch. /messagenamesfilter:<semicolon list>
           Must be used with the /includeMessages
           - this feature support wild card filtering for begins with or ends with
           Ex: begins with: "/includeMessages  /messagenamesfilter:msdy_*;" - includes all messages that start with msdy_.
           Ex: ends with: "/includeMessages  /messagenamesfilter:*mymessage;" - includes all messages that end with mymessage.
           Ex: in: "/includeMessages  /messagenamesfilter:msdyn_testmessage;new_mymessage01;new_mymessage02" - includes only messages in the list in generated code.
       - Added new cmdline operations:
           /legacyMode - when present, causes CrmSvcUtil to behave in a manner pre February 2022.
           /splitfiles - when present, causes CrmSvcUtil to emit a file per class to the output directory
           /generateGlobalOptionSets - when present, causes GlobalOptionSets to be generated.
           /outdir - works with /splitfiles and specifies the directory to write model folder too.
       - Added duplicate optionset property name detection, duplicate optionset properties will now appear as optionName#
       - Fixed optionset name generation if the optionset name starts with a digit., such optionsets will now appear as _<optionname>
       - Added Enum's for Optionsets that are name addressable
       - Added validation for either /out or /outdir + /splitfiles
       Ex:
           Crmsvcutl splitting files without global optionsets to folder
               CrmSvcUtil.exe /il /n:MyNameSpace /entitynamesfilter:account;systemuser;role /emitfc /splitfiles /svcctx:dvSvcContext /outdirectory:E:\src\myproject\connecttoDv\Model /sgca

           Crmsvcutl splitting files with global optionsets to folder
               CrmSvcUtil.exe /il /n:MyNameSpace /entitynamesfilter:account;systemuser;role /emitfc /splitfiles /svcctx:dvSvcContext /outdirectory:E:\src\myproject\connecttoDv\Model /sgca /generateGlobalOptionSets


9.1.0.92:
   CrmServiceUtil -
       - Added support for emitting fields and an enum within the codegended object using the /emitfieldsclasses or /emitfc
       
       EXPERIMENTAL:
       // Note: These features can only be supplied on the cmdline currently.
       - Added support for filtering the entities codegenerated via command line switch.  /entitynamesfilter:<semicolon list>
           Ex:  /entitynamesfilter:account;contact;lead - will emit only the account, contact and lead entities
       - Added support for filtering the messages codegenerated via command line switch. /messagenamesfilter:<semicolon list>
           Must be used with the /includeMessages
           - this feature support wild card filtering for begins with or ends with
           Ex: begins with: "/includeMessages  /messagenamesfilter:msdy_*;" - includes all messages that start with msdy_.
           Ex: ends with: "/includeMessages  /messagenamesfilter:*mymessage;" - includes all messages that end with mymessage.
           Ex: in: "/includeMessages  /messagenamesfilter:msdyn_testmessage;new_mymessage01;new_mymessage02" - includes only messages in the list in generated code.

9.1.0.90:
   SolutionPackager:
       - add support for ModernSiteMap

9.1.0.88:
   CrmServiceUtil:
       - Added auto type filtering based on version of SDK Libs available to CrmServiceUtil at time of use. this will reduced the frequency of classes being created that are not supported by the current SDK libs
       - Added some timing and status information to the general console ui.
       - Updated online login flows to always use oAuth flows for connection to Dataverse online. Note, this does not apply to connection strings.
   All Tools:
   - Updated Newtonsoft.Json to v11.0.2 to match server.
   - Updated to latest BatchedTelemetry.

9.1.0.79:
   SolutionPackager:
       - Fix XML declaration and encoding when packaging in localization files
       - Support for license/service plan entities

9.1.0.68:
   CrmServiceUtil:
       - Added Support to generate properties for EntitySetName, EntityCollectionName
       - Added new command line parameter to support removing the Generated Code Attribute from every class
           Command line parameter is /SuppressGeneratedCodeAttribute or /sgca for short.
       - Added Support to detect and modify the use of reserved SDK names by SolutionAware Entities.
           This should cut down on the issues seen when a solution aware entity includes a field name like "EntityLogicalName"
           Should this occur, a the class member will end up with the name "EntityLogicalName1"
       - Fixed an issue where an Empty Enum would be generated for an optionset with no members.
           Going forward, if an OptionSet exists with no members, it, and any property that utilizes it will be excluded from code gen.
       - Fixed an issue where an invalid SDK Message mapping could cause a null exception in the CrmServiceClientUtil.
           This edge case has appeared in a few environments with enough consistency to warrant a fix to the tool to handle that state.

9.1.0.64:
   SolutionPackager:
       - Correctly roundtrip empty NavigationSettings in AppModule
       - Exception will be thrown when canvas app doesn't have any matching filename with its name
       - Fixed crash when more than one SolutionPackager was running in parallel
       - Fixed args parsing issue when args has backslash followed by a quote
       - Added support for localization of sharded components

9.1.0.44:
   CrmServiceClient:
       Fixed Authority property data loss post clone process

9.1.0.43:
   SolutionPackager:
       Support service-side sharding of component files during extract and pack. Consequence of this when packing a solution zip: any subfolder and its files in the solution's root folder will be treated as potential component files and added to the solution.zip. Folders with names as bin/obj will be ignored during extract and pack.
       Support processing files longer than 260 chars
       Fix adding localization duplicates when writing resources into .resx file
       Improved performance while handling localized files
       Fixed crash when the same component file was referenced from different locations using web vs windows path to that file
   
9.1.0.39:
   Fixed a bug with components in managed solutions when the user was not passing packagetype argument.
   
9.1.0.38:
   SolutionPackager:
       - respect unmanaged SiteMap.xml if packing with '/useUnmanagedFileForMissingManaged'

9.1.0.22:
   SolutionPackager:
       - fix name detection in EnvironmentVariable components
       - emit actionable error message when referenced formula xaml file is missing in solution.zip

9.1.0.21:
   CrmServiceUtil:
   Fixed a bug with how errors are handled when they are raised from ADAL 3.19+.  MFA Force Login will now work properly again.
   Added 3 new GEO's to Selection List.
       Region Name - RegionCode:
           United Arab Emirates - UAE
           South Africa - ZAF
           Germany (Go Local) - GER
   
9.1.0.14:        
   SolutionPackager: - Added anonymous telemetry to SolutionPackager; to opt out use PowerApps CLI, see:
   [PowerApps CLI telemetry](https://docs.microsoft.com/en-us/powerapps/developer/component-framework/get-powerapps-cli#microsoft-powerapps-cli-telemetry)

9.1.0.13:
   CrmServiceUtil:
   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 )

   SolutionPackager:
   - 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


9.0.3.5:
   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
9.0.3.4:
   bug fixes:
   - CustomControl: issue helpful warnings and auto-generate metadata XML for incompletely migrated PCF controls
   - CrmServiceUtil: fix its assembly version to 9.0.0.0 (binary content already had 9.x functionality, but previous version showed misleadingly as being 8.x)
9.0.3.3:
   SolutionPackager: pack from single AppModuleSiteMaps file for packageType=both unless an explicit AppModuleSiteMap_managed.xml file is found
9.0.3.2:
   CrmSvcUtil: Added Support for China Geo
9.0.3.1:
   SolutionPackager:
   - 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
9.0.2.12:
   Fixed bug in CrmServiceClient which would cause some OnPrem connections to fail with an error "Item already added to List"
   Minor Pref Improvements

9.0.2.11:
   Updated to include Fixed version of CrmServiceClient and login control for new US Geo ( US Gov High )
   Applies to CrmSvcUtil primarily

9.0.2.9:
   Note .net 4.6.2 is now required as a baseline
   Fixed AppModuleSiteMap to support both unmanaged and managed local files side-by-side

9.0.2.6:
   Corrected Code Sign issue on SolutionPackager
9.0.2.5:
   Updated for 9.0.2.1080 CDS/XRM release
   Fixed an issue in SolutionPackager.exe where it was incorrectly adding a visualizations node to savedqueries nodes

9.0.2.4: Updated for 9.0.2.449 CDS/XRM release
9.0.2.3:
   Updated with Xrm.Tooling.Connector support
   Added new dependencies for Xrm.Tooling.Connector.dll
9.0.0.6: Adding missing file for interactive use of CrmServiceUtil.  Will enabled the /il switch.
9.0.0.5: 9.0 Initial Release
9.0.0.2-Preview:
9.0 Initial Release
   SolutionPackager:
       Major updates to solution packager to support new component types. *note: SolutionPackager 8.x is not compatible with all component types in 9.x +
   XrmToolingConnector:
       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.
   CrmSvcUtil:
       Seveal preformance updates.
8.2.0.5:
   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.

8.2.0.4:
   Fixes:
   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

8.2.0.3:
   CrmSvcUtil.exe :
       Updated to correct version of crmsvcutil for the current version of CRM that exposes all command line switches
   SolutionPackager.exe:
       Fixes in dependency mapper and that caused issues with some solutions
8.2.0.2: Fix of dependency issue in nuget package. Now properly requires .net 4.5.2 as a baseline
8.2.0.1 Refreshed from current release
   Fixed site map packing issue in solutionpackager.exe
8.2.0: Removed Deprecated Assemblies and Executables. Updated to current bits.
8.1.0.1: 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
8.0.2.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.