I noticed that some aspx controls were not being recognized by intellisense, and when I tried to compile, I got errors stating that the controls basically didn't exist.
After a lot of tinkering, I realized that the .aspx.designer.cs file was missing for several .aspx files.
What is the best way to re-create the files?
If the aspx.designer.cs file is already gone just do step 2. If it's there but you are getting the error you described do both steps.
It's a total pain, hoping MS will get this one ironed out. In my experience this occasionally happens if you make changes in the aspx file while you are running the application, so you might try to avoid that...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With