Click here to Skip to main content
12,254,932 members (54,829 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#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?
Posted 8-Jul-12 8:40am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 8 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100