Thu, 05/13/2021 - 08:44 By Nguyen Thanh Khoi Contributor Lloyd Sebag
9 comments

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

 

Comments

Hi Nguyen,

I can't able to connect the Dynamics365 online version 9.1 form the visual studio.

which is showing error.

and also i didn't have a separate SDK for D365 online.
For cloud version which is have have Tools folder, we don't have a Bin folder for cloud.
there is a way to deploy the crm stuff from Visual Studio 2019.

if it is there share the article or guide me how to achieve.

Thanks in advance.

Regards,
Vigneshwar Kumar

vigneshk536@gmail.com

Fri, 08/06/2021 - 18:02
Vigneshwar (not verified)

Did anyone get this working with Visual Studio 2022 64bit?

I tried this. The installtion was working, but the Tool was not able to load correctly:

amd64

Mon, 12/27/2021 - 13:16
Patrick Barkowski (not verified)

Hii,
I followed the above steps to Install the .vsix files. But at the 3 steps, I am not able to do the extension. After selecting and update the Archieve error has shown.

Wed, 01/19/2022 - 11:16
Sowmiya (not verified)

Hi Nguyen,

I Using visual studio 2017. I have followed all above steps and completed installation/configuration but unable to see Dynamics 365 option under tool menu on visual studio.

Mon, 06/06/2022 - 13:37
Vaibhav (not verified)

Thanks for spreading a fruitful awareness about the Microsoft product in such a good way.

Thu, 09/22/2022 - 13:20
DirectDeals (not verified)

Add new comment

Image CAPTCHA
Enter the characters shown in the image.