In VS2003, we we able to declare pages and controls without using the
Language attribute. We specified that our default language was c# in the
machine.config file and everything worked OK.
In VS2005, this also works for run-time compilation. However, when we edit
our codebehind files in VS, if there is no language defined in the page, the
editor treats them like VB and reports dozens of errors from the background
compiler.
Is there any way to force VS to recognize that these files are C# despite
the missing language attribute? We have thousands of pages that will need to
be edited to fix this if there is not a way to set a default.