Hi @Ahmad Ganteng ,
Welcome to Microsoft Q&A forum.
Please try following methods and let us know if any of them works.
- Close VS => remove the hidden .vs folder in your solution folder => Open VS and open your solution => right-click your project => Unload Project => right-click it again => Reload Project => check if the Designer works.
- Try to clean your project(remove the bin, obj folders) and rebuild it.
- Go to
C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX
folder find and rename ComponentModelCache folder. - Try to repair VS => from VS Installer > More > Repair.
- Try to reinstall extensions(Extensions > Manage Extensions) and reset VS settings(run
devenv /ResetSettings
inDeveloper Command Prompt for Visual Studio 2022 Community
) if possible.
Please also try to create a new Windows Forms project and let us know if this error also appears in a newly created project.
Looking forward to hearing from you.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.