C
C#8mo ago
NotFabi

❔ View Designer for Forms App

Hello I just recently created a Windows Forms App and accidentally closed the tab where you can drag the Components to the Window (Form1.cs[Design]). I've tried already googling this issue, but didn't help me. When I right click on the Form1.cs in the solution explorer, this is what I see, google said i should see something like "View in Designer", but it doesn't appear here. I've also tried restarting the IDE, but no result either Any help is appreciated!
No description
3 Replies
cypherpotato
cypherpotato8mo ago
can you build your code? maybe your Form1.designer.cs code is broken
NotFabi
NotFabi8mo ago
i tried rebuilding, cleaning up and building, but it doesn't seem to work oh i found something, a message from visual studio: "The class Form1 can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again." okay i fixed it
Accord
Accord8mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts