Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Building an application with VS 2022 fails when attempting to add Dynamics GP form.

(0) ShareShare
ReportReport
Posted on by 75,788 Moderator

I have run into the same issue as described in this forum discussion when using VS 2022.

https://community.dynamics.com/gp/f/microsoft-dynamics-gp-forum/450713/microsoft-dexterity-shell-dexuiform

When trying to add a Dynamics GP Form I get

“The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: DynamicsGPForm1—The base class ‘Microsoft.Dexterity.Shell.DexUIForm’ could not be loaded. Ensure the assembly has been referenced and that all projects have been built.”

This was using VS 2022. If I take the same project and load it using VS 2019 I can add the form with no issues.

Is there a way to add a Dynamics GP form using the extensions for VS 2022?

Categories:
  • Tim Wappat Profile Picture
    Tim Wappat 5,703 on at
    RE: Building an application with VS 2022 fails when attempting to add Dynamics GP form.

    This is a change where Visual Studio changed in 2022 from being 32bit application to a 64bit application.

    You can make a AnyCPU build target in visual studio for when you need to edit forms, then switch back to 32bit for debug and final build.

    Details in this blog post...

    timwappat.info/.../Dynamics_GP_Addins_VisualSudio2022

    There is a new switch in latest releases of Visual Studio. I've not tested with GP yet, but will update the blog post when I have done so.

    Tim.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans