web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,848 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:
I have the same question (0)
  • Tim Wappat Profile Picture
    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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 813

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 738 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 566 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans