Skip to main content

Notifications

Announcements

No record found.

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,730

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,701 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans