Copying Over Forms in VS2022
Hello everyone.
I am having an issue in VS2022 that I have never had before and do not know why.
I work for a company and I have created our ERP System in Visual Studio. We constantly add things or make changes to the programs, forms, reports, etc. There are three different people who work on this project, but I am the lead. We recently upgraded from VS2008 to VS2022, programming in Visual Basic. When one of us three makes changes to any windows forms, they copy the changed forms over to a shared folder that I copy to my project directory and empty the folder. I do all the updates/publishes on my copy of VS2022, so that data does not get overwritten. We have been doing this for a while with no issues. The last time I copied forms over and included them in my project, they did not come over as windows forms. When I include them in my project, in solution explorer, you can see all three files for a windows form, by the icon next to the form name in solution explorer isn't an form icon, it says "VB". If you click on it, all you see is the code. You cannot see "Form View". So I cannot add or edit any controls on the form itself. I have deleted the form, got an old one from a previous backup, and the same thing. This has never happened before - we have been copying and consolidating our project like this for years. Anyone have any idea why it is doing this? I can't even re-copy my original form back into my project, because it does the same thing.
I am very confused.
Thanks,
Todd