.net framework 4 beta 2支持 [英] .net framework 4 beta 2 support
问题描述
似乎没有对.Net Framework 4.0 beta 2的支持。如果我弄错了,请纠正我。我收到运行时错误"混合模式汇编是针对运行时版本的'v2.0.50727'等构建的。"
- 到2010年3月EE3将如何解决这个问题,框架的RTM版本的时间?
- EE3团队是否在非配置文件解决方案上工作?
谢谢。
很抱歉延迟回复你。您应该可以通过更改应用程序配置文件来解决此问题。如果您没有单击项目...从菜单中添加新项目,然后选择应用程序配置文件。单击"添加",然后将以下内容添加到配置部分。
< startup useLegacyV2RuntimeActivationPolicy =" true">
< supportedRuntime version =" v4.0" />
< / startup>
所以它最终看起来像这样
<?xml version =" 1.0"编码= QUOT; UTF-8英寸?>
< configuration>
< startup useLegacyV2RuntimeActivationPolicy =" true">
< supportedRuntime version =" v4.0" />
< / startup>
< / configuration>
然后建立并运行你应该没问题。
希望这有助于问候迪安
There seems to be no support for the .Net Framework 4.0 beta 2. Correct me if I'm mistaken. I'm getting a runtime error "Mixed mode assembly is built against version 'v2.0.50727' of the runtime, etc."
- How's EE3 going to address this issue by March 2010, the time of the RTM version of the Framework?
- Does the EE3 team work on a non-config-file solution?
Thank you.
Sorry for the delay in replying to you. You should be able to fix this by changing your application configuration file. If you don't have one click Project...Add New Item from the menu and select Application Configuration File. Click Add and then add the following to your configuration section.
<startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup>
so it'll end up looking like this
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0"/> </startup> </configuration>
Then build and run and you should be OK.
Hope this helps
Regards
Dean.
这篇关于.net framework 4 beta 2支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!