Thu, 05/13/2021 - 08:44 By Nguyen Thanh Khoi

Install Dynamics 365 Developer Toolkit:

Microsoft has officially released Dynamics 365 Developer Toolkit for supporting developers here. It is a set of Microsoft Visual Studio Integration tools, focused on accelerating the development of custom code for Microsoft Dynamics 365(CRM). Using the toolkit, you can create, develop and deploy CRM plug-ins, custom workflow assemblies, and web resources without leaving the Visual Studio environment.

However, this tool only works with Visual Studio 2012, 2013, and 2015. In this article, I will show you a trick to install this tool for later versions such as Visual Studio 2017, 2019.

Step 1: Download the extension tool (.VSIX)

This is an official extension from Microsoft and you can download it from here.

Install Dynamics 365 Developer Toolkit

Step 2: Custom the extension

Prerequisites: You must install 7zip on your system. If you haven't done it yet, please get it free here.

  • Open the VSIX file (the downloaded extension) as an archive by the 7-zip tool.
    Note: Do not extract it.
Install Dynamics 365 Developer Toolkit
  • Find file extension.vsixmanifest then right-click and choose Edit to open it with a text editor.
Install Dynamics 365 Developer Toolkit

 

  • The default VSIX only works for Visual Studio 2015 corresponding version 14.0 in configuring InstallationTarget so you need to modify the version to 15.0 (for VS2017) and 16.0 (for VS2019). Once you complete as shown below:
    • Visual Studio 2017:Config for VS2017

       

    • Visual Studio 2019:Config for VS2019

       

  • Save the file and select OK to update the archive.

Step 3: Install the extension

  • Close all existing Visual Studio windows then install the extension. Because the extension was compiled by and for Visual Studio 2015, we will get a warning when installing, but just skip it, we will not be able to get rid of this warning, install and restart Visual Studio.
Install Dynamics 365 Developer Toolkit
  • After install successfully, you will be able to create a project with template handling part of Dynamics 365 such as Dynamics 365 Plug-in Library, Dynamics 365 Package, Dynamics 365 Workflow Activity Library.
Support project Dynamics 365

Step 4: Set up the Path for extionsion

  • Download the Microsoft Dynamics 365 Software Development Kit (SDK) from here. If you have installed it already, skip this step.
  • Open Visual Studio, go to Tools -> Options -> Dynamics 365 Developer Toolkit -> Tool Paths
Set up Paths
  • Set the directory to the plugin registration tool folder and bin folder where you extracted SDK.
Install Dynamics 365 Developer Toolkit

Now you can use this tool for VS2017 and VS2019. If you have any issue, just add comment below to discuss.

Result

 

Add new comment

Image CAPTCHA
Enter the characters shown in the image.