VS 2005 – additions are good changes are bad.
I guess that as everybody else I already install VS 2005 beta 1. I managed to create new projects and debug them as well but when I arrive to the real challenge VS 2005 failed big time. As one of the thousands that attend PDC I heard that Microsoft executive commit to guarantee compatibility to older versions of CLR from new versions, so I decide to give it a try. I try to convert quit complicate 1.1 working project that use ASP.NET and libraries performing codeDom and Reflection functionality.
a friendly wizard accompanies me through the conversion stage that ends successfully. The warning list contain several warning about change [assembly: AssemblyKeyfile("xxx.snk")] with sighing tab of project settings. And changing obsolete Assembly .LoadWithPartialName with Assembly.Load. Great those are just warnings I thought to myself … those guys made their promises it's really compatible. With a hart full of joy I run the project and ….. BOOM I got error … not just error, an error with HRESULT message and value (compatible :-) ). Even after fix every one of those warning I still get that error. Not to mention that I hade to uncheck Tools->Option->Debugging->General the 'Enable Just My Code' checkbox to be able to debug my code.
It doesn't matter what the problem was eventually. What's count here is the fact that old code that I use to run isn’t running under new development environment. This fact, from my point of view, is huge obstacle to use VS 2005 in my enterprise …. I encourage Microsoft to ensure that new tools will run old code. As I write in the title adding new abilities is great! (and there are a lot of new additions in VS 2005 + CLR 2.0) but if those additions come along with changes in existing code… well… I hope that someone will attend this issue …