c# - Some aspx controls are not recognized in the code-behind files -


I found that some escapes control was not being recognized by intellisense, and when I tried to compile, Basically the control was not in existence.

After a lot of tinkering, I realized that the .aspx.designer.cs file was missing for many .aspx files.

What's the best way to recreate files?

  1. delete the aspx.designer.cs file
  2. Right on the aspx file Click and select "Convert to Web App"

If the aspx.designer.cs file is already gone, then step 2 is to do. If it's there, but you're getting the error by telling both the errors.

This is a complete pain, it is expected that MS will get an IRDA. This is sometimes in my experience, when you make changes to the app file, when you are running the application, then you can try to avoid it ...


Comments