I’ve inherited a bunch of code that has server script inside of .htm files.
On IIS, a handler mapping pumps.Htm pages though the asp.net engine.
Unfortunately, visual studio doesn’t notice that they should be treated as code.
Is there any way to make VS treat .Htm files as code/aspx files?
Adding a build provider under system.web/compilation allows Visual Studio to build .Htm pages.
to get IntelliSense to (mostly) work go to:
Tools->Options->Text Editor->File Extension
add associate the .htm extention with the “Web Form Editor”