I had the same problem. I had a second small class defined in the form class file.
Moving this class into its own file solved the problem.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The project is a win forms project.
So I take my project (created before 17.4.5) and add a couple of lines of code. Go to run it and get
"Should have two or more class parts". A search for that come up blank.
So click that and "Unable to start debugging ...........".
Also cannot close VS as I keep getting the "should have" msg.
So now VS is so broken that I cannot make changes, debug, do ANYTHING!!!!!!!!!!!!!!
So then I close the form designer and don't save it. Now it appears that the project no longer knows what a form is.
IS THERE A DEVELOPMENT TOOL THAT DOES MAUI AND ACTUALLY WORKS????????????
IS THERE A DEVELOPMENT TOOL THAT MS HAS ENOUGH PRIDE IN TO MAKE IT WORK??????
So looking further I see that now it is giving me errors on the build. Lets click the error number to see what the problem is. OH THAT ERROR DOES NOT EXIST!!!!!!!!
To call VS now a pathetic product is being non rude.
Severity Code Description Project File Line Suppression State
Error MSB3883 Unexpected exception: LetSeeHowScrewedUpVSIs C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 4704
Please read code of conduct. Also provide a step by step guide on how to reproduce the issue. People need to be able to reproduce the issue or know more details about your project to be able to help.
Perhaps MS should have a code of conduct. Lets say document error codes. With out that when you get an error you have no idea of what is wrong. I have spent about 50% of my time dealing with VS since the 17.4.2. Not being able to add a button to a win forms app is just about the worst. I have used this dev tool for at least 25 years and never has it been in such poor shape.
Sign in to comment