When I am opening a visual studio project with VB.NET then Form view designer is automatically open but I open a new project with C# .NET Core 3.1 with Windows form then it is showing code of form1.cs. I tried alternate from solution explorer as well from view>>designer option but still not showing a form. What is going wrong there? I made google search for this but not found useful on this.
Please check in the image that I'm getting during the opening project.:
Select one of the mentioned classes like form or user control. Right-click it and from the context menu select View Designer (or simply Shift + F7 ). That will move you to the designer view.
We need to enable the designer in Visual Studio. Go to Tools > Options > Environment > Preview Features and select the Use the preview Windows Forms designer for . NET Core apps option.
Make sure you only have the form declared in your file. If you have more than one class defined, the design viewer will not work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With