Dynamics 365 Version 9.0 Tools Download

Overview

 
Dynamics 365 CRM online versions before version 9.0 support TLS 1.0, 1.1 and 1.2. Dynamics 365 (online), which is version 9.0 of the Customer Engagement platform, application.

In future no SDK will be offered by Microsoft in download format and it will be available only online and will be known as Developer Guide

In future Microsoft will not be offering a single package containing all the tools, instead Microsoft will offer an a-la-carte approach where in a developer need to download and install only the required compents including

  1. Assembelies and Tools needed by developer
  2. Sample Code will be available over the online repository - GitHub

What is Nuget?

 
NuGet is an open-source package manager designed for the Microsoft development platform to distribute the dll’s and reference files.
 

Steps to download tools using PowerShell 

  • Open the Windows Powershell in Administrator Mode
  • Create and navigate to the folder we want to tools to be installed to
    • For example if you want to install them in a developmenttools folder on your D drive, type cd D:\ developmenttools.
  • We need to execute the powershell scripts in the powershell command window, we can copy and paste the same to execute it.
  • You will find the tools in the following folders,
    • D:\ developmenttools\Tools\ConfigurationMigration
    • D:\ developmenttools\Tools \CoreTools
    • D:\ developmenttools\Tools \PackageDeployment
    • D:\ developmenttools\Tools \PluginRegistration

Nuget Exe Download URL

https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
 

PowerShell Scripts

  1. $sourceNugetExe = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"  
  2. $targetNugetExe = ".\nuget.exe"  
  3. Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore  
  4. Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe  
  5. Set-Alias nuget $targetNugetExe -Scope Global -Verbose  
  6.  
  7. ##  
  8. ##Download Plugin Registration Tool  
  9. ##  
  10. ./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools  
  11. md .\Tools\PluginRegistration  
  12. $prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'}  
  13. move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration  
  14. Remove-Item .\Tools\$prtFolder -Force -Recurse  
  15.  
  16. ##  
  17. ##Download CoreTools  
  18. ##  
  19. ./nuget install  Microsoft.CrmSdk.CoreTools -O .\Tools  
  20. md .\Tools\CoreTools  
  21. $coreToolsFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.CoreTools.'}  
  22. move .\Tools\$coreToolsFolder\content\bin\coretools\*.* .\Tools\CoreTools  
  23. Remove-Item .\Tools\$coreToolsFolder -Force -Recurse