web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Looking for the correct SDK for my current Dynamic 365 Trial version

(0) ShareShare
ReportReport
Posted on by 137

I just created my Dynamic 365 trial version yesterday, not sure the version of it, Now I want to download SDK against it.

I did some searches, it seems each CRM version must be using their associated SDK version, otherwise, it is not compatible.

Does anybody know what is the correct SDK version against the current Dynamic 365 in the market?

thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    Hi

     SDK download has changed for V9, please copy the PowerShell script from this page and run to download the SDK Tools

    docs.microsoft.com/.../download-tools-nuget

    If you are developing applications using the SDK, instead of using DLLs from the Plugin Registration folder, please use the nuget packages

    https://www.nuget.org/profiles/crmsdk 

    For more details

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/download-dynamics-365-sdk-v9

  • Peter Cong Profile Picture
    137 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    Hi Kokulan,

    Sorry, since I am  new in CRM, I only know I need SDK for CRM development, that link you suggested contains 5 tools with 6 PowerShell scripts, I am wondering if I need all of them?

    Also, since I have just created CRM trial version yesterday, so I assume it is the current brand new version in the market. but the URL link instruction you suggested was created  on ‎12‎/‎05‎/‎2017, are you sure it is the correct version to be used for the current CRM trial version I just created?

    Could you please let me know besides SDK, what other tools (or plug ins) I should download for CRM development?

    Thanks a lot again,  

    •

    $sourceNugetExe = "dist.nuget.org/.../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

    ##

    ##Download Configuration Migration

    ##

    ./nuget install  Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf -O .\Tools

    md .\Tools\ConfigurationMigration

    $configMigFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.ConfigurationMigration.Wpf.'}

    move .\Tools\$configMigFolder\tools\*.* .\Tools\ConfigurationMigration

    Remove-Item .\Tools\$configMigFolder -Force -Recurse

    ##

    ##Download Package Deployer

    ##

    ./nuget install  Microsoft.CrmSdk.XrmTooling.PackageDeployment.WPF -O .\Tools

    md .\Tools\PackageDeployment

    $pdFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PackageDeployment.Wpf.'}

    move .\Tools\$pdFolder\tools\*.* .\Tools\PackageDeployment

    Remove-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.PowerShell

    Remove-Item .\Tools\$pdPoshFolder -Force -Recurse

    ##

    ##Remove NuGet.exe

    ##

    Remove-Item nuget.exe

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    Hi

    The page is updated in 2017 that's correct but when you run the script, it will download the latest version of the tool via nuget packages. As far as I know, there is no other SDK download option for V9.

    Please see below compared to previous versions of SDK download, you can see you get a different structure for V9 and V9 the link I have given above always downloads the latest

    63666.Untitled.png

    May I now what you are downloading this tools for, if its for using Plugin Registration tool and other tools in the download then that's fine its the correct download.

    Let's say you are creating a Console/Windows application or a Web Site/API, you can still use the DLLs from lets say plugin registration folder but its recommended that you use nuget package versions of these DLLs as it's easy to upgrade and manage. Again for nuget packages of SDK DLLs, please refer to the link i posted in my previous post

  • Peter Cong Profile Picture
    137 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    thanks a lot for your quick response with the details explanation, much appreciated!!!

    As I mentioned above, I am a newbie in CRM, I don't know any tools or plug-ins required for CRM development, I study from the internet, only know SDK is required, do not any other tools.

    I assume those 6 powshell scripts are used for SDK tool.

    What other tools are required for CRM development?

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    For latest version of CRM, you have to use the following Toolkit if you are using Visual Studio for development of  Plugin/Workflows, or even Javascript/HTML

    [View:https://marketplace.visualstudio.com/items?itemName=DynamicsCRMPG.MicrosoftDynamicsCRMDeveloperToolkit:750:50]

    Once you installed this Extension, in Visual Studio you get the following project templates

    ScreenClip-_5B00_393_5D00_.png

    This extension allows you to develop and deploy directly from Visual Studio.

  • Peter Cong Profile Picture
    137 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    [quote user="Kokulan"]

    For latest version of CRM, you have to use the following Toolkit if you are using Visual Studio for development of  Plugin/Workflows, or even Javascript/HTML

    Microsoft Dynamics 365 Developer Toolkit - Visual Studio Marketplace

    marketplace.visualstudio.com
    Extension for Visual Studio - Dynamics 365 Developer Toolkit for Visual Studio

    Once you installed this Extension, in Visual Studio you get the following project templates

    ScreenClip-_5B00_393_5D00_.png

    This extension allows you to develop and deploy directly from Visual Studio.

    [/quote]

    yes, I am using Visual Studio for CRM development (Plugin/Workflows and JavaScript/HTML), Right now, my Visual Studio version is 2015, is that compatible for the latest version of CRM? can I download it from nuget package through Visual Studio ? if I download this way, I assume I don't need to run those 6 powershell scripts you mentioned before, right? so this one step download in visual studio will work for all , right?

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    Officially the extension Microsoft Dynamics 365 Developer Toolkit only supports upto VS2015, so you have the right version of VS.

    You won't be able to download the Extension (Microsoft Dynamics 365 Developer Toolkit) as a nuget package, you can either download and install the VSIX file or you can directly install from VS as shown below

    ScreenClip-_5B00_395_5D00_.png

    ScreenClip-_5B00_395_5D00_.png

    To answer your this question "I assume I don't need to run those 6 powershell scripts you mentioned before, right? so this one step download in visual studio will work for all , right?" 

    I would recommend you still download using powershell as well. Powershell downloads give you the following tools which you will not get by installing the above VS extension.  Plugin Registration tool is very handy to Debug a plugin or workflow CRM Online so you definitely need that. And its got a data migration tool that helps you to export and import data from environments. 

  • Peter Cong Profile Picture
    137 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    Hi Kokulan,

    Sorry, I am a bit of confused, and just want to clarify:

    1. The Microsoft Dynamic 365 Toolkit is only used for Plug in deployment from Visual Studio to CRM, right?  it is not include SDK, right?

     Microsoft Dynamic 365 Toolkit is not the  "Microsoft Dynamics CRM 2015 Software Development Kit (SDK)" as I listed the URL blow ?

    2. Does the SDK include all 6 scripts run results (6 folders)? or only the second script is the SDK, and other 5 scripts are the other tools?

    I also found this site for download SDK, which doesn't need to run the script, I guess this is ONLY SDK, could you confirm?

    https://www.microsoft.com/en-ca/download/details.aspx?id=44567

    Thanks a lot,

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    1. The Microsoft Dynamic 365 Toolkit is only used for Plug in deployment from Visual Studio to CRM, right?  it does not include SDK, right?

    Yes thats correct, the developer toolkit is not included in the SDK anymore. In older versions of CRM the developer toolkit was included in the SDK but not in the newer versions.

    You can use the Developer toolkit to create CRM Plugin/Workflow/other types of projects and solutions in visual studio and allows you to deploy to CRM directly from Visual Studio. 

     Microsoft Dynamic 365 Toolkit is not the  "Microsoft Dynamics CRM 2015 Software Development Kit (SDK)" as I listed the URL below?

    https://www.microsoft.com/en-ca/download/details.aspx?id=44567

    I also found this site for download SDK, which doesn't need to run the script, I guess this is ONLY SDK, could you confirm?

    No, the link you have given here is the link for SDK download for CRM 2015 but you have signed up for Trial Online which is Version 9. For V9 the SDK download is different as I have explained in my previous posts. 

    To answer your question on if you need to run the script, script-based download only introduced for Version 9. For all the older versions, you normally have to download the SDK like the link you have given  for 2015 SDK

    2. Does the SDK include all 6 scripts run results (6 folders)? or only the second script is the SDK, and other 5 scripts are the other tools?

    The Term SDK normally refers to  Assemblies (CRM DLLs) and the Tools.  When you run the powershell script it will download the following tools only

    ScreenClip-_5B00_405_5D00_.png

    To download the tools, yes you have to run the whole script. What I normally do is, Open PowerShell ISE in windows, as shown below and click run

    ScreenClip-_5B00_401_5D00_.png

    Copy and paste the script and click run

    3157.ScreenClip-_5B00_404_5D00_.png

    Once the script completes executing, if you did not change the default folder, it would have created Tools folder in your AppData folder and there you will have these tools downloaded

    ScreenClip-_5B00_405_5D00_.png

  • Peter Cong Profile Picture
    137 on at
    RE: Looking for the correct SDK for my current Dynamic 365 Trial version

    Thanks for your quick response,

    So I have just run the 6 scripts under PowerShells, and I got the 5 folders as yours created under Tools folder,

    So the SDK actually is composed of these 5 folders contents? can I ask what is the purpose of each folder? and when to user each of them?

    For example, I am just following a tutorial to learn CRM and creating a plugin, and I need to add Microsoft.Xrm.Sdk as reference to my .class build in Visual Studio, should I just look for each folder and add this assembly from one of these folder?

    I just checked each folder, it seems each of them contains Microsoft.Xem.Sdk.dll, are they same to existed in each folder? so I add any of them should be OK?

    basically, I want to know how to use these 5 folders after downloaded?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans