最后偶然发现只要将其应用程序的配置文件简单修改一下就可以了。修改的地方如下:
<startup>
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v2.0.40607" />
<supportedRuntime version="v1.0.3705" />
<requiredRuntime version="v1.0.3705" />
</startup>
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v2.0.40607" />
<supportedRuntime version="v1.0.3705" />
<requiredRuntime version="v1.0.3705" />
</startup>
将其中支持2.0的语句换到1.1的上面就可以搞定了。最后告诉同事的时候同事还发现其实根本不用在2.0的环境下编译,直接将配置文件修改就可以了。