Compatibility : BadImageFormatException

Visual studio dotnet versions all are having forward compatibility but the not the backword compatibilty. I have worked on VS 2002,VS2003,VS2005 and now I am using VS 2008. From these experience I have understood that there is no backward compatibilty.
What is special in it? Your answer may be we all know it. But have you converted code from lower version to higher version?


If no convert any of your dll to dotnet higher version and keep the exe to lower version and run the exe. In that case you may get the runtime error BadImageFormatException. Convert the exe to higher version same as the dll.
Now run it works fine. These things we know but when error comes we will think differently. This will help you more while migrating

No comments:

Post a Comment

Pages