Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
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
Updated 17-Sep-12 12:37pm
v2
Comments
[no name] 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 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

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900