I recently encountered a strange issue while migrating an older Web site that was developed in Visual Studio 2003 to 2008. The code behind (codebehind) attribute in the asp/x page was changed to code file (codefile) in ~ 2005 and in that edition of Visual