This package contains the following official Microsoft assemblies and has been authored by the Microsoft Common Data Service SDK team.

This file requires the Microsoft.CrmSdk.XrmTooling.CoreAssembly package


Install-Package Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core -Version
dotnet add package Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core --version
<PackageReference Include="Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core,"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
// Install Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core as a Cake Addin
#addin nuget:?package=Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core&version=

// Install Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core as a Cake Tool
#tool nuget:?package=Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This package contains assemblies for Dynamics 365 (online and on-premises). These assemblies require application development using the Microsoft .NET Framework 4.6.2 or later.
         Corrected an issue with CMT lookup resolution that would prefer the display name over the ID of the target of the lookup.
         Corrected an issue with CMT where a failure to import would occur if, during the decision process for update vs insert, an existing record was not found by ID and the Name field of the record was null
         This would only impact default search patterns.  Entities that defined custom search's would not be impacted.

         Fixed an issue with Batch mode import that is caused by invalid guid's being hand edited into datafiles.
         Fixed an issue where CMT would prefer ID/Name over comparison keys when precaching data for comparison.

         Fix in Data import to compensate for Import files created during a window of time where new virtual fields generated by CDS were incorrectly identified as valid fields.
         This issue would cause schema validation to fail during import of complex data for some types of "attributeOf" type fields.

         Fixed a bug in runtime settings parsing that would mis identify a = in the value as a key value separator.

         Fixed an issue where data import could hang without error

         Fix for an issue where importing business units that included a lookup for their own team (looped back to the entity) would not be populated on update.
         Fixed a general issue were related LookUp ID's that were discovered in the target system were not properly linked.
         Behavior Change: when using BatchMode, Create will always include the ID of the record from the source system, even if not explicitly included as a field in the exported system.

         Fix for an issue reported where related objects were not being correctly identified by name and thus not correctly linked to importing records
         This only impacted imports where the related entity did not have comparison keys

         Altering the default client engine to move coreobjects to a non static type,
         Staging for merger of MTPD code with mainline PD.
         Added in memory configuration parsing logic
         Optimized dependency checking logic

         Cleaned up extra lines in logging output.
         Adding Logging for time taken during configuraiton parsing to aid in performance info.
         Uptook New CDS SDK drop.

         Fixed an issue preventing logs from being generated correctly,  Logs should once again write to the log directory

         Many Logging improvements
         Fixed an issue with Async Solution Import.
         Includes fixes from DMT: Fixed bug with preprocessing that would cause an apparent runaway, removed check for display name on attributes, updated batch mode system.

         Introduced binding redirect for Microsoft.IdentityModel.Clients.ActiveDirectory dll.
         Package developers can define error type as application error or publisher error - internal only.

         Enhanced PD logs and temporary file delete logic.

         Enhanced PD logs and raise fail event immediately when AfterPackageImport returns fail.

         Enhanced PD to pass more error details to invoker of PD lib

         Published PackaDeployerException class which can be used by package developers
         Enhanced PD to bubble up error details to invoker of PD lib with progress status in case of failure - internal only

         Internal updates - No Public changes

         Internal updates - No Public changes

         Logging updates for async import error scenario.

         Logging Updates
         Added support for default async mode for DeleteAndPromote, regardless of how a given package is configured.
         Reverted change for RaiseFail event which done in version  Now it will not cause PD to stop with an overall failure and stick to old behavior of continuing package installation.

         Logging Updates
         Added support for forcing all packages to run Sync mode, regardless of how a given package is configured.
         Modified RaiseFail event for RaiseFail generated from the package.  New behavior will cause PD to stop with an overall failure.

         Added native support for handing throttling messages from server.
         Improved handling of retry logic for blocked imports due to concurrent metadata import

         Corrected an error that occurs when a Async Upgrade Fails due to a recoverable server issue.  PD will attempt to recovery correctly vs aborting and requiring a restart.

         Correcting Dependancy Info on Package
         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 )
         Added support for Preferring Affinity with a given node to improve cache hit success rate.

         Note .net 4.6.2 is now required as a baseline
         Fixed a user reported issue that would cause an import patch to fail due to being misapplied.
         Fixed a user reported issue that would cause the incorrect version of a solution to be imported under some circumstances during update.
         Added better error detection for failed Async Jobs when using Async Solution Import.
         Major updates to error logging to make logs more concise and useful.

         Corrected an issue which would occur while importing a package that contained an upgrade for a deployed solution, where a prior version upgrade had failed leaving a holding solution. The system will now attempt to apply the current holding solution, and upon success, apply the new upgrade contained.

         Picked up updated CrmServiceClient (Microsoft.Xrm.Tooling.Connector)

         Corrected use of strong types inside Package Deployer to allow it to work properly with packages that also include overlapping strong typed objects.
         Corrected a case where Async Solution Deployment could fail and not be correctly caught by PD.

         Updated install flows to more correctly trigger failures on failures within user code or data import.
         Added support several configuration settings dealing with timeouts and dials.
         Thease settings are set in the app.config of the host process
         StaleImportProgressOverride -
         This setting is the number of times a solution import be polled for progress.  This is rolling property, the count resets each time a solution moves forward.
         Default setting is 50
         Note: this property only applies when solutions import mode is sync.

         SolutionStatusPollingFrequencyOverride -
         This setting is the delay between check for solution progress.
         The default setting is :  5 (seconds)
         Note: this property only applies when solutions import mode is sync.

         SolutionImportBlockedRetryCountOverride -
         This setting is the number of retries that will be attempted when a solution import is blocked by a concurrent metadata operation.
         The default setting for this is 10

         SolutionImportBlockedWaitOverride -
         This setting is the number of seconds that a retry will wait before attempting another solution import.
         The default setting for this is 60 (seconds)

         UseAsyncForSolutionImport -
         This setting controls the default behavior of the import operations for Package Deployer.
         If set to true, Package deployer will attempt to use an Async Pattern for all solution operations where possible to do, given the server configuration.
         The default setting for this is false ( sync mode )

         Importconfig.xml - Solutions node updates.
         Added requiredimportmode as an option to force an Async or Sync import behavior for a given solution.
         This includes, upgrade or new install.
         Valid settings for this property are :
         async -  Requires the Import of this solution to be done in an async manner if the server supports it.
         sync - Requires the import of this solution to be done in a sync manner if the server supports it.
         Default behavior follows the default setting for the Package Deployer Core Process.

         Updated with Xrm.Tooling.Connector support
         Fixed issues that caused unhandled exceptions to be thrown when a package resulted in an error
         Added new notifications in logs and UX for faults (where applicable).
         Added logic to detect stuck solution import and abort the import process
 Added missing Xrm.Tooling.Connector DLLs due to some packages requiring them. Added missing CAB DLLs Fixed a bug in CMT Lookup processing logic that was causing incorrect linking where the data set includes records that require related lookup records which share the same default name. 9.0 Initial Release
         Using Xrm.Tooling 3.x and CRM 9.x assemblies

         Intial release of the 2.2.2 core PD module.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 1,141 10/25/2020 808 7/10/2020 183 5/19/2020 1,149 4/23/2020