Recently I tried converting a solution from Visual Studio 2005 to 2008. Everything seemed to work until I ran all the unit tests. More than 50% of them failed. I found the reason is because AppDomain.CurrentDomain.BaseDirectory changed from 2005 to 2008...