VS2022 Unable to edit MFC dialog

Rene M. Laviolette 16 Reputation points
2022-08-03T14:35:25.05+00:00

VS2022 17.2.6 crashes (hourglass spin) when I go into Resource View and attempt to open a dialog. It happens on any solution and/or project.

Any suggestions?

Thanks!

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,635 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,542 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sandro Thommen 15 Reputation points
    2023-04-06T13:06:03.09+00:00

    I had the same issue in VS Professional 17.5.3. Uninstalling and installing C++ components didn't help. I created a brand new MFC project and opened the default dialog, which successfully opened in dialog editor. Then, I went back to our existing project and was able to open the dialogs again.

    3 people found this answer helpful.

  2. Mitja 10 Reputation points
    2023-03-23T08:53:36.19+00:00

    I had the same issue.

    I noticed it does not happen, if I create another new checkout of my repo.

    I've deleted the .vs folder in root of local repo checkout. Now it works.

    When I open MFC dialog I can see dialog in edit view.

    2 people found this answer helpful.