C
C#2y ago
Cience

Windows Visual studio 2022 designer bugging out

When I try and open my designer all it shows is this, but my Form1.designer.cs, code is still their no errors, my Form1.cs code is still their no errors, but if I run the program it just shows this white box, and the designer also does. I've tried a few things and cant fix it. can anyone help?
14 Replies
phaseshift
phaseshift2y ago
Revert your last change to get back to your last working state. You're using version control, right?
Cience
Cience2y ago
see i've restarted the program mulitple times, meaning i can't revert it, it happened when i made a timer i have deleted that timer, this still happens
phaseshift
phaseshift2y ago
Ctrl + z is undo Learn version control, it's really important for this kind of reason
Cience
Cience2y ago
yes i know, but the last time it worked is when i didn't have a specified timer. I have deleted that timer meaning i can't undo it into a state where is was working because i've already done that. it just still isnt working
phaseshift
phaseshift2y ago
You can try to clean the solution, and manually delete the obj and bin dirs
Cience
Cience2y ago
ok
phaseshift
phaseshift2y ago
What you're deleting is not the same as undo -ing. And yes, you can still repeatedly undo anyway
Cience
Cience2y ago
ok, tbh i didn't know that you could still undo after program is closed, and reopened i just did this, restarting program just to be sure. but its still not working
phaseshift
phaseshift2y ago
Ok, gl then
Cience
Cience2y ago
still not working, and no i cannot undo anything can anyone else help?
MKP
MKP2y ago
Nobody can help you without code
Cience
Cience2y ago
@MKP is their any specific code you need to see? sorry wasnt home for a awhile
MKP
MKP2y ago
Minimal reproducible example
In computing, a minimal reproducible example (abbreviated MRE) is a collection of source code and other data files which allow a bug or problem to be demonstrated and reproduced. The important feature of a minimal reproducible example is that it is as small and as simple as possible, such that it is just sufficient to demonstrate the problem, bu...
Cience
Cience2y ago
i dont know what produced the problem, im just gonna use the code to remake the entire gui. because if i just sit waiting for a solution its gonna take longer thanks for trying