Visual Studio Tools for Microsoft Dynamics GP 2013 and Microsoft Visual Studio 2013

A few weeks aback I talked about Updating your Visual Studio Tools for web client development environment and soon after I started receiving numerous emails from developers wanting to know if they could leverage the current Visual Studio Tools 2013 SP2 (VST) templates with Visual Studio 2013.  As of yet, Microsoft has not released Microsoft Dynamics GP Add-In and Microsoft Dynamics GP Web Client Add-In templates for Visual Studio 2013, but with the help of my good friend Michael Hammond, Sr. Engineering Lead at Microsoft I have instructions on how to move the current Visual Studio 2012 templates to Visual Studio 2013

1. Locate the current VST templates folders under your Microsoft Visual Studio 2012 program files folder. These can usually be found as follows:

Visual C# templates folders
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplates\CSharp\Dynamics GP
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\1033

*The latter folder contains the zip file items associated with the project's Add | New Item.. action in Visual Studio, giving access to Microsoft Dynamics GP Form and Microsoft Dynamics GP Silverlight Window.

Visual Basic templates folders
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplates\VisualBasic\Dynamics GP
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\VisualBasic\1033

*The latter folder contains the zip file items associated with the project's Add | New Item.. action in Visual Studio, giving access to Microsoft Dynamics GP Form and Microsoft Dynamics GP Silverlight Window.

2. Copy and paste the Dynamics GP folder from under the above folders to their corresponding Microsoft Visual Studio 2013 program files folder. These are consequently found at:

Visual C# templates folder
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ProjectTemplates\CSharp
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ItemTemplates\CSharp\1033

Visual Basic templates folder
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ProjectTemplates\VisualBasic
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ItemTemplates\VisualBasic\1033

3. Configure Microsoft Visual Studio 2013 to recognize the templates. Start a Command Prompt as an administrator and change directories to C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE. Once in the directory, you can type the following command to setup the Visual Studio 2013 environment:

Command Prompt

The setup process should take no more than a couple minutes. Once you finish, you can launch Visual Studio 2013 and click to create a project using the Dynamics GP templates installed.

Visual Studio 2013 with Dynamics GP templates
Now, the beauty of all this is I can focus on my Windows Store applications without losing track of my Dynamics GP apps - the beauty of having everything under one roof.

Until next post!

Mariano Gomez, MVP
IntellPartners, LLC


Manikandan said…

I have one doubt. Now, I am upgrading the VST project from lower version to GP 2013. So I have used GPconnNet.dll in the old version. So I have removed that dll and added new dll from location C:\Program Files\Common Files\microsoft shared\Dexterity\v2.0. I have build the VST customization and insert into adding folder. The problem is when I am opening the GP it get crashed. I have analysed and found that issue is because of the new dll, it is 64 bit dll. I am confusing here, GP is 32 bit application, then why the 64 bit dll present in that mentioned location. and what is the dll GpConn.dll refers to. Please help me if anybody knows
Mariano Gomez said…
GPConn.dll is the COM component. GPConnNET.dll is the .NET assembly.

Regardless of whether GP is a 32-bit application or not, you should be using the GPConnNet.dll as a reference in your project.

Any Event Viewer messages after the crash?

Steve Endow said…
Hey Mariano,

Thanks for the great writeup!

I finally installed VS 2013 and am glad to see that there is an option to develop VST for GP solutions with it.

Mariano Gomez said…

The same procedures apply to VS2014 as well. You still have to install VST so you can get the DAG tool.

julfs said…
I am new in GP.Doing some customization works using in Gp10.0 using visual studio sdk tools 2008.
I tried to deploy the modified forms using export and import method, after importing that changes not reflected in the second machine.
May I know the steps to deploy customized forms.
Thanks in advance.
Dose this apply on Visual Studio 2019?
And what about cmd?
Mariano Gomez said…
No, this does not apply to VS2019. VS2018 forward changed to a manifest base model for adding extensions. Tim Wappat, out of the UK, created the GP extension manifests which can be downloaded from the Visual Studio marketplace.

Popular posts from this blog

Power Apps - Application Monitoring with Azure Application Insights

DBMS: 12 Microsoft Dynamics GP: 0 error when updating to Microsoft Dynamics GP 2013 R2

eConnect Integration Service for Microsoft Dynamics GP 2010