Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

GP Add In : Designer Error on WinForms.Controls

Posted on by 1,582

It seems all that is on the net about this error is Steve Endow's post. I have re-installed VS Tools for GP and restarted and I am still faced with the same error.

[View:http://screencast.com/t/3HKFMIf858LH:320:50]

*This post is locked for comments

  • chadbruels Profile Picture
    chadbruels 1,582 on at
    RE: GP Add In : Designer Error on WinForms.Controls

    I have recently found out more information about this error. Even so it still seems slightly mysterious. 

    There are posts about this issue that will state a serious of solution cleans and rebuilds will resolve the problem. Not so for me. 

    From J Collins' answer to this post at stackoverflow, I found that libraries are copied to dynamically created folders when a project is loaded. I'm using VS 2012 so my location was :

    C:\Users\[user_name]\AppData\Local\Microsoft\VisualStudio\11.0\ProjectAssemblies

    In my broken project only the Dexterity.Shell library was copied to this location. I had found another post where a person stated that creating a traditional reference to their problem library resolved the issue - and mysteriously if he then removed that reference the project continued to work. I have not tested removal of my reference, but creating the traditional reference to the Winforms.Controls library did resolve my problem. Also, the library is being copied to the Project Assemblies folder when the project loads. 

    Interestingly, my first project that broke is now opening the designer successfully as well even though I have not created a traditional reference to the library. Hence the exact problem is still a bit blurry. 

  • chadbruels Profile Picture
    chadbruels 1,582 on at
    RE: GP Add In : Designer Error on WinForms.Controls

    I would like to add both old and new information.

    When this first occurred, I had the VS project open and my PC experience a BSOD. The problem presented itself after rebooting and opening the project. I thought then that something in the project was corrupted.

    I reacted by creating a new project, replicating the window controls and copying over code. This new project worked fine ... until this morning. I opened the new project this morning and I am faced with the same error on the Designer. No event occurred in the last several days to my PC that I can point to that would have corrupted this new project.

    The library in question is not in the References folder, so I assume it is part of the files that make up the winform. Is there a way to view this reference and uncover what might be wrong and/or hack a fix? I'm on a very tight deadline and cannot afford to keep messing this is issue.

    Your help is greatly appreciated!

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans