Today, we must build a unit test environment under .NET 2.0, then follow the previous idea: recompile the source code in a 2.0 environment. There is no error when compiling, but will always report the exception of BadImageFormatexception when performing Debug, and go to Google to search for a long time, no findings can solve this problem.
Finally, I can discover that just make it easy to modify its application's configuration file. The modified place is as follows:
startup>
You can get it on top of 1.1. Finally, when I told my colleagues, my colleagues also found that they didn't have to compile them in a 2.0 environment, and they can be modified directly.