Hi,
I am new to the GP world and am just starting to get my feet wet with Development using the VS Tools SDK. I have some pretty basic questions. Be gentle with me. :)
We are on GP 2013 R2 and have the March 2015 update installed which puts us at version 12.0.1894. I installed the version of VST that came on the DVD with GP 2013 R2 and moved the templates over to Visual Studio 2015.
The VST SDK comes with pre-generated dlls and intellisense xml files for the various baseline products. One of the first things I noticed is that the versions of the assemblies that we have are different due to the updates we have installed. For instance, the Application.FixedAssets.dll that ships with VST is at 12.0.1651 whereas the version we have installed is 12.0.1790. I assume that I need to use the DAG tool to create updated versions. First, am I correct in this assumption? From what I understand, the DAG tool references the Application.Dynamics.dll file, but the next question is "Which one?" I have one in my GP2013 installation folder, and I have one in the VST SDK directory. They are both two different versions.
I use Powershell, whenever I can, rather than DOS, so, if I issue the following:
cd "C:\Program Files (x86)\Microsoft Dynamics\GP2013 VS Tools SDK"
& .\Dag.exe 309 "C:\Program Files (x86)\Microsoft Dynamics\GP2013\dynamics.set" /M /N:FixedAssets1201790 /O
Which is referenced by DAG, the Application.Dynamics.dll file in the directory where Dag.exe resides or the directory where my dynamics.set file resides?
Also, when I create a Visual Studio project it automatically adds references to Application.Dynamics.dll, Microsoft.Dexterity.Bridge.dll, and Microsoft.Dexterity.Shell.dll, all located in the VST SDK directory. The versions of these files is different than the versions we are using for GP. Should I just copy these files from my GP installation directory to my VST SDK directory and rebuild any projects, and do I need to do this before I generate assemblies used by my project?
For those whose are curious, you can get the versions by executing the following from Powershell
cd 'C:\Program Files (x86)\Microsoft Dynamics\GP2013'
ls *.dll -r | % versioninfo
Just change directories and run the same thing against the VST SDK directory to get the versions there and compare.
Thanks
Tom