Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET EMGU EMGUCV OpenCV
I'm using .NET2
 
I need to use EMGU library in my project.
 
But when i try to attach EMGU DLL's I get this massage:

'EMGU.CV.dll',or one of its dependencies ,requires a later version of the .NET Framework
than the one specified in the project...

 
How I can understand .NET2 doesn't support EMGU.
 
Any ideas how can I use EMGU in .NET2 project.
 
Thank you in advance.
Posted 17-Sep-12 13:13pm
Mich_901.5K
Edited 17-Sep-12 13:37pm
v2
Comments
Wes Aday at 17-Sep-12 18:47pm
   
Either get a version of Emgu that supports .NET 2 if one exists or change your version of .NET to one that Emgu does support.
Sergey Alexandrovich Kryukov at 17-Sep-12 18:47pm
   
What exactly is not clear? Do you understand what the .NET Framework version is? If not, read about versioning. Does your question means that you use v.2.0?
--SA

1 solution

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

Solution 1

Look at the documentation of EMGU you have: it should tell you the target version of .NET it's using. Find out what .NET version do you need and install it. Do you use Visual Studio? What version? If you have VS 2005, you can develop only the applications targeted to .NET v.2.0, VS 2008 covers targets of v.2.0 to v.3.5 (and target version becomes a project option found in the "Application" tab of the project's properties), VS 2010 allows you to target v.2.0 to v.4.0, and so on. Of find the older version of EMGU, as Wes Aday advised.
 
For advanced information on versioning, please see:
http://msdn.microsoft.com/en-us/library/8477k21c.aspx[^],
http://msdn.microsoft.com/en-us/library/ee518876.aspx[^],
http://msdn.microsoft.com/en-us/magazine/ee819091.aspx[^].
 
In particular, you will be able to learn about compatibility aspects which occur if you have assemblies targeted to different version of the .NET Framework. This is all your problem is about.
 
—SA
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,192
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2014
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