I'm attempting to run the GP 2015 DAG for the first time on a GP 2015 R2 machine:
dag.exe 0 "C:\Program Files (x86)\Microsoft Dynamics\GP2015\Dynamics.set" /F
And am getting this error during the "Generating IL code" step at 69%:
System.TypeLoadException: Could not load type 'Microsoft.Dynamics.GP.BusinessObjects.Payroll.Timecard' from assembly 'Microsoft.Dynamics.GP.BusinessObjects, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Any thoughts or suggestions?
I tried copying the Microsoft DLLs from the AddIns folder to the VS Tools directory, but same issue.
*This post is locked for comments
Thanks for the info. I usually only play with the DAG with custom dictionaries (Dex for UI and c# for logic), but that makes sense to me.
Hi Josh,
Thanks for the reply. Yes, the dictionary 0 value was correct, as I was working with the core Dynamics dictionary.
The problem is that the GP 2015 VS Tools SDK requires you to manually copy a few DLL files from the GP application directory to the SDK directory (wherever the DAG.exe is located). If you don't, you get that useless error message and it crashes.
I updated my blog post listing the required DLLs. Definitely NOT documented in the VS Tools documentation.
dynamicsgpland.blogspot.com/.../gp-2015-dagexe-crashes-could-not-load.html
Are you sure using the product id of 0 is correct there?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156