.net 4的问题 [英] problem with .net 4

查看:59
本文介绍了.net 4的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#.NET Framework 4中使用" Microsoft.DirectX.AudioVideoPlayback.dll "在Windows Form Application中制作Videoplayer,一切正常,程序正常运行,但是当我打开.avi文件
我遇到此错误:
"混合模式程序集是针对运行时的版本"v1.1.4322"构建的,如果没有其他配置信息,则无法在4.0运行时中加载."
我该如何解决?

I''m using "Microsoft.DirectX.AudioVideoPlayback.dll" in C#.NET Framework 4 to make an Videoplayer in Windows Form Application , every thing is ok and program run correctly but when i open an .avi file
i face this error:
"Mixed mode assembly is built against version ''v1.1.4322'' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information."
how can i fix it?

推荐答案

在此讨论中对此进行了解释:
http://stackoverflow.com/questions/3267491/when-linking-a-net-2-0-managed-assembly-from-a-net-4-0-application-which-fram [
这是与进程内并行执行的概念有关的非常重要的内容.

有关更多背景信息,请参见:
http://msdn.microsoft.com/en-us/library/w4atty68.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/ee518876.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/f4kkd0k5.aspx [ ^ ].

—SA
This is explained in this discussion:
http://stackoverflow.com/questions/3267491/when-linking-a-net-2-0-managed-assembly-from-a-net-4-0-application-which-fram[^].

Please see the answer #4, first of all. It explains exactly the same very "additional configuration information".

This is the very non-trivial stuff related to the concept of in-process side-by-side execution.

For more background information, please see:
http://msdn.microsoft.com/en-us/library/w4atty68.aspx[^],
http://msdn.microsoft.com/en-us/library/ee518876.aspx[^],
http://msdn.microsoft.com/en-us/library/f4kkd0k5.aspx[^].

—SA


这篇关于.net 4的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆