More VS.NET 2005 Goodness!

I was reviewing some code I had ported from VS2003 today.  The project was using visual inheritence in a windows forms enviroment.  At one point (back when it was in 2003) I had marked the class abstract since, well, it was abstract.  Unfortunately, I could no longer use the VS2003 forms designer to edit the form -- since the class was abstract, the IDE couldn't create an instance of it.  At that time, I just added some comments to the code that the class should not be instantiated directly and that it wasn't marked abstract simply because of the VS.NET 2003 IDE.

I seemed to recall that this was going to be fixed in VS.NET 2005.  So today I went back in and marked the base form class as abstract.  Recompiled everything and pulled it up in the IDE.  There's my form!  Progress is good!  :)

UPDATE: Ummm.. No!  Don't know why this seemed to work when I tried it.  I could have sworn I recompiled.  But I obviously didn't because if you recompile, you get the same error about not being able to design the form since it's abstract.  Grrrrr....  Sorry -- my bad.

No Comments