VS2010编译.NET 3.5的C++/CLR工程还需要装VC2008编译器。。。
而且还不能添加App.config配置文件,虽然手动复制一下就好了。。。
----
VC2008编译器不一定要安装VS2008,还可通过WinSDK7.0安装(但是肯定不会带有ATL和MFC)
而且还不能添加App.config配置文件,虽然手动复制一下就好了。。。
----
VC2008编译器不一定要安装VS2008,还可通过WinSDK7.0安装(但是肯定不会带有ATL和MFC)
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup uselegacyv2runtimeactivationpolicy="true">
<supportedruntime version="v2.0.50727">
<supportedruntime version="v4.0">
</supportedruntime></supportedruntime></startup>
</configuration>其中<startup useLegacyV2RuntimeActivationPolicy="true">保证混合组件兼容性(如DirectX),<supportedRuntime version="v2.0.50727" />和<supportedRuntime version="v4.0" />指示程序可以在2.0和4.0运行时中运行。
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup uselegacyv2runtimeactivationpolicy="true">
<supportedruntime version="v4.0.30319">
<supportedruntime version="v2.0.50727">
</supportedruntime></supportedruntime></startup>
</configuration>