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
- Assembelies and Tools needed by developer
- 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
- $sourceNugetExe = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
- $targetNugetExe = ".\nuget.exe"
- Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore
- Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe
- Set-Alias nuget $targetNugetExe -Scope Global -Verbose
-
- ##
- ##Download Plugin Registration Tool
- ##
- ./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools
- md .\Tools\PluginRegistration
- $prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'}
- move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration
- Remove-Item .\Tools\$prtFolder -Force -Recurse
-
- ##
- ##Download CoreTools
- ##
- ./nuget install Microsoft.CrmSdk.CoreTools -O .\Tools
- md .\Tools\CoreTools
- $coreToolsFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.CoreTools.'}
- move .\Tools\$coreToolsFolder\content\bin\coretools\*.* .\Tools\CoreTools
- Remove-Item .\Tools\$coreToolsFolder -Force -Recurse