Link to home
Start Free TrialLog in
Avatar of thecookiecompany
thecookiecompany

asked on

Change framework 2.0 to 3.5 or higher

Hello all,

I'm working with VB.Net 2005 and I think i'm using framework 2.0.

I need to use the following line: Imports System.Windows.Media

This give me the a error:
Namespace or type specified in the Imports 'System.Windows.Media' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

I think this is because I need to use framework 3.5 or higher.

How can I change my project to use 3.5 or higher?

Thanks in advance
Arno
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

If you had vs2008, you could easily target .net 3.5 but with vs2005 it's not possible

http://geekswithblogs.net/cyoung/archive/2007/12/01/117279.aspx
SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thecookiecompany
thecookiecompany

ASKER

Thanks Dhaest

Is this only possible in vb.net 2008 or is it also possible in vb.net 2010?
You can import the dll System.Windows.Media of v3.5 in your 2.0 project
Hello umartopia,

Can you tell me how to do this. Where can i find the dll.
I recommend you to upgrade your project to VS.NET 2008 or 2010 and then change the framework to 3.5 or higher.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks