Missing designer.cs files

Issue

I imported a web application that had only .aspx and .aspx.cs pages and was missing the designer.cs pages. When the application was compiled got an error stating that the web controls were not defined.

Resolution:

The error message received during compilation is because of the missing designer.cs and so you will need to do the following to address it.

a) Select the .aspx file and right click to see options.
b) Select the option "Convert to web application".
c) By doing so the designer.cs file will be created and the error message for this particular case should be avoided.

Comments

Popular posts from this blog

Configuring DB2 Connect Server

Concatenate files using MS-DOS