Questions tagged «mixed-mode»

2
.NET 4配置中的“ useLegacyV2RuntimeActivationPolicy”有什么作用?
将使用SlimDX(因此具有非托管代码)的项目转换为.NET 4.0时,我遇到以下错误: 混合模式程序集是针对运行时的版本“ v2.0.50727”构建的,如果没有其他配置信息,则无法在4.0运行时中加载。 谷歌搜索为我提供了解决方案,即将其添加到应用程序配置中: <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup> </configuration> 我的问题是,这是useLegacyV2RuntimeActivationPolicy怎么回事?我找不到有关它的任何文档。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.