web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Visual Studio Tools for GP fails during startup without error

(0) ShareShare
ReportReport
Posted on by

Environment: GP 2010 code upgraded to 2015

We have two Add-In DLLs that register events with GP.

DLL 1: registers an event handler for AfterModalDialogEventArgs for SOP Batch Entry

DLL 2: registers a menu item function with Menus for Visual Studio Tools (VSIT)

We also have DLL 3 that is the sample from VSIT.

Problem: If we place DLL 1 into the AddIns folder, it runs its Initialize method, but it seems to error, or block others from running. If placed by itself or with DLL 3 into AddIns, either or both will initialize. The introduction of DLL 1 into the AddIns folder causes it to run but no others. (used MessageBoxes as simple way to know which Initialize ran). In other words, it seems that DLLs 2 and 3 play nice, but DLL 3 is disruptive.

Question: How can I debug this to find the problem with DLL 3? Any suggestions as to what might cause such a problem?

Thanks in advance for any help.

*This post is locked for comments

I have the same question (0)
  • MG-16101311-0 Profile Picture
    26,225 on at

    Adding David Musgrave to this discussion. I believe he just updated his VSIT samples, but I cannot be sure. All in all, make sure you are running the latest VSIT Build 12 components

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,106 Most Valuable Professional on at

    Hi all.

    This case was resolved by updating the .Net Framework version and re-adding all the references back to ensure they were the correct versions.

    David.

  • Randy Coates Profile Picture
    on at

    Thanks, Mariano and David. This is a new issue, but I am not convinced that it is a VSIT issue. The add-ins associated with VSIT (DLLs 2 and 3) all place nicely together. The problem occurs when I add the DLL 1 which uses standard GP code (just use Application.Dynamics and Microsoft.Dexterity.Bridge, not Application.MenusForVisualStudioTools).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
HP-11021721-0 Profile Picture

HP-11021721-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans