Dynamics 365-Download new version of development tools

Source: Internet
Author: User

You can use the following PowerShell script to download the latest CRM development tools in NuGet. These tools include:

Package
Tool NuGet
Code Generation ToolCrmSvcUtil.exe Microsoft.CrmSdk.CoreTools
Configuration Migration ToolDataMigrationUtility.exe Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf
Package DeployerPackageDeployer.exe Microsoft.CrmSdk.XrmTooling.PackageDeployment.WPF
Plug-in registration ToolPluginRegistration.exe Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool
Solutionpackager ToolSolutionPackager.exe Microsoft.CrmSdk.CoreTools

1. Open Windows PowerShell

2. CD ***,CD to the specific download path

3. Copy the following script statement to PowerShell and run

$sourceNugetExe="Https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"$targetNugetExe=". \nuget.exe"Remove-item. \tools-force-recurse-erroraction Ignoreinvoke-webrequest$sourceNugetExe-outfile$targetNugetExeSet-alias NuGet$targetNugetExe-scope Global-Verbose####Download Plugin Registration Tool##./nuget Install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool-O. \toolsmd. \tools\pluginregistration$prtFolder= Get-childitem./tools | Where-object {$_. Name-match' Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool. ' Move. \tools\$prtFolder\tools\*.*. \tools\pluginregistrationremove-item. \tools\$prtFolder-force-Recurse####Download Coretools##./nuget Install Microsoft.CrmSdk.CoreTools-O. \toolsmd. \tools\coretools$coreToolsFolder= Get-childitem./tools | Where-object {$_. Name-match' Microsoft.CrmSdk.CoreTools. ' Move. \tools\$coreToolsFolder\content\bin\coretools\*.*. \tools\coretoolsremove-item. \tools\$coreToolsFolder-force-Recurse####Download Configuration Migration##./nuget Install MICROSOFT.CRMSDK.XRMTOOLING.CONFIGURATIONMIGRATION.WPF-O. \toolsmd. \tools\configurationmigration$configMigFolder= Get-childitem./tools | Where-object {$_. Name-match' MICROSOFT.CRMSDK.XRMTOOLING.CONFIGURATIONMIGRATION.WPF. ' Move. \tools\$configMigFolder\tools\*.*. \tools\configurationmigrationremove-item. \tools\$configMigFolder-force-Recurse####Download Package Deployer##./nuget Install Microsoft.CrmSdk.XrmTooling.PackageDeployment.WPF-O. \toolsmd. \tools\packagedeployment$pdFolder= Get-childitem./tools | Where-object {$_. Name-match' MICROSOFT.CRMSDK.XRMTOOLING.PACKAGEDEPLOYMENT.WPF. ' Move. \tools\$pdFolder\tools\*.*. \tools\packagedeploymentremove-item. \tools\$pdFolder-force-Recurse####Download Package Deployer PowerShell module##./nuget Install Microsoft.CrmSdk.XrmTooling.PackageDeployment.PowerShell-O. \tools$pdPoshFolder= Get-childitem./tools | Where-object {$_. Name-match' Microsoft.CrmSdk.XrmTooling.PackageDeployment.PowerShell. ' Move. \tools\$pdPoshFolder\tools\*.*. \tools\packagedeployment.powershellremove-item. \tools\$pdPoshFolder-force-Recurse####Remove NuGet.exe##Remove-item Nuget.exe

4. Under the corresponding folder, find the Downloaded tool

    • [Your folder]\Tools\ConfigurationMigration
    • [Your folder]\Tools\CoreTools
    • [Your folder]\Tools\PackageDeployment
    • [Your folder]\Tools\PluginRegistration

When you need to download the latest version of the tool, rerun the above script.

Official document: Download tools from NuGet

Dynamics 365-Download new version of development tools

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.