I am attempting to create a Windows Forms app in C# in Visual Studio. Normally one can double click the Form1.cs file in the Solution Explorer in order to access the simple drag and drop designer.
When I create a new Windows Desktop Form Application using .NET Core with the latest Visual Studio 2019 Community Edition update, I cannot view the design view of the form, i.e., Form1.cs [Design].
But Visual Studio would not let me open more design views. My solution is: In another project, in the same solution, I created a new Windows Form. Now the "View Designer Shift-F7" is visible and working for all forms and user controls, in all projects in my solution. I deleted the latest new form, and Design View still works.
The Visual Studio Form Designer started working again! How to write a properly Visual Studio Form Designer -interacting, inherited component class in C# is beyond me.
It wants me to open Visual Studio, create a new Windows Forms Application and the picture they have shows Design View which has a blank form in the center and on the left, there's a Toolbox with bunch of windows form items to drag to the center, such as pointer, button, checkbox, label, listbox, etc.
Clean your solution or project, then rebuild and restart visual studio. Double-click on your form file to open your form designer, the to the console window and select Windows Form as shown below: Now you will see more logs and that should help you know what is happening internally.
So, to be 100% clear, the visual web designer and options on that page only applies to the visual web designer, and only applies to Web Form projects, not any other type of project you create in vs2022. So, you ONLY can use the visual web designer when working with WebForm projects.
In case the designer is waiting for Intellisense (the designer might state "Waiting for intelliSense to finish initializing"), uncheck the ‘Load projects faster’ option in Tools>>Options>>Environment>>Preview Features. In my case, the Designer loaded immediately after unchecking. Eventually, you need to restart Visual Studio. This was an answer in https://developercommunity.visualstudio ...
Now the Design View of the form will be shown! KEY CONCEPT: Open the *.sln file (xxx.sln) instead of the xxx.Designer.vb, xxx.resx, and xxx.vb files! The xxx.sln file is located in a DIFFERENT DIRECTORY (not the same as xxx.Designer.vb, xxx.resx, xxx.vb). Now in solution explorer right click on .vb file and click on view designer.
I recently installed Visual Studio 2013 Professional, and found that in the Windows Forms Application project type I'm unable to move any controls on a form in design mode. I tested a few alternati...