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

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. ##Download Plugin Registration Tool
  8. ##
  9. ./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools
  10. md .\Tools\PluginRegistration
  11. $prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'}
  12. move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration
  13. Remove-Item .\Tools\$prtFolder -Force -Recurse
  14. ##
  15. ##Download CoreTools
  16. ##
  17. ./nuget install Microsoft.CrmSdk.CoreTools -O .\Tools
  18. md .\Tools\CoreTools
  19. $coreToolsFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.CoreTools.'}
  20. move .\Tools\$coreToolsFolder\content\bin\coretools\*.* .\Tools\CoreTools
  21. Remove-Item .\Tools\$coreToolsFolder -Force -Recurse