When it pulls my code files into the Code directory, my casing is lost. MyObjectException.cs becomes myobjectexception.cs. I’ve already logged a bug with Microsoft, so hopefully this will get fixed. The code inside is good, but the filename is converted to all lowercase.
Otherwise the project convert wizard works well. I took my VS.NET 2003 project, and I opened the project file in VS 2005. The convert wizard was automatically launched, and it succeeded. It removed every CodeBehind and Inherits attributes from my @Page directives, and it converted all my code-behind files to code-beside (converted them from stand-alone classes to partial classes that merge with the aspx file upon compilation). It pulled all my class files into the Code directory, and it preserved all my namespaces.
The issue I’m wrestling with now is how to declare variables of type MyUsercontrol. All my usercontrols were converted to code-beside with partial classes, and my code can’t see the user controls (build error). There is code in the Code directory that is referencing a Usercontrol type (to dynamically load later on), and I’m guessing that the code in the Code directory is compile first (and it can’t find the user control which will be compiled later). I’m not sure if this is a bug or if I just haven’t figured out the *new* way yet.