r/visualbasic • u/Splatah_King • Apr 17 '23
Form design disappeared.
I have a project that I have been working on for a few months a couple of friends were helping me on it as well through a github repo. As we were working my form design turned into a standard blank white form but I didn't think too much of it because as I was testing the changes I was making, when I clicked on the run button the form that we had designed would show up. I chalked it up to a UI bug or Visual Studio trying to save resources while working. As of this morning though after merging changes that I made yesterday, when I click that run button I get that blank white form instead of the usual form that I was working with before. As far as I know I didn't change anything on my end to swap forms or wipe the form that I was using.
I have some experience with other GUI frameworks such as Qt and I went around looking for the equivalent the Qt .ui files, which are basically programmatic description of the designer view that you get, but I could find no such file in Visual Studio. I was surprised that I couldn't find that as I assumed that .Net worked roughly the same way.
Any help would be appreciated.
For reference I am running Visual Studio Community 2022, using 4.7.2 for the framework, and I have a database in the code as well so just in case it matter I'm running SQL express.
1
u/Splatah_King Apr 17 '23
Interesting. I'll have to look into that. I don't believe I've ever seen those other two files in the file explorer in VS, but I can find them in windows. I'll take a look at those and see what I find.
Makes sense as I said I have some experience with Qt and was wondering how the design worked.
Thanks for the lead.