Visual Studio 2022 designer doesn't work in x86

Gian Luca Russo 1 Reputation point
2021-11-02T20:04:55.74+00:00

Only in Visual Studio 2022 I have this bug:
I have a legacy net solution, which has to be x86. But when using the form designer, I get an error since it detects that a certain control does not exist or its architecture is not correct. That control that gives the error is a custom control.

  • I can't hit the skip as it breaks the design.
  • It is solved by changing the project to any cpu, but I need it to be x86.

Does anyone know a solution to this problem? I need the designer to work on VS2022 with the project on x86 architecture.

Developer technologies | Visual Studio | Other
Developer technologies | C#
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 60,331 Reputation points
    2021-11-02T21:35:20.457+00:00

    You are having the inverse problem that has plagued VS prior to VS 2022 as discussed here. Now that VS 2022 is x64 it cannot host x86 components properly. Prior to now it couldn't host x64 components because it was x86.

    Someone has already reported this issue. You should cast your vote there.


  2. Aurel H 1 Reputation point
    2022-03-11T13:09:06.587+00:00

    Hello GianLucaRusso-9908,

    Have you found a solution?
    I have the same issue.

    Thank you


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.