Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > dotnet framework > april 2008 >

dotnet framework : Can dotnet Framework 3.5 used in VS2005?


chyong
4/25/2008 8:36:00 PM
Hi, can I upgrade the dotnet framework from 2.0 to 3.5, and use it in my
VS2005 projects development?


Scott M.
4/26/2008 1:31:32 AM
No.


[quoted text, click to view]

RobinS
4/26/2008 8:28:25 PM
I think you can install the WPF and WCF and WF extensions to .Net 2.0 for
VIsual Studio 2005, and use those. You can't target the 3.0 or 3.5 framework
specifically, or use .Net 3.5, without upgrading to VS2008 though.

RobinS.
GoldMail.com

[quoted text, click to view]
Scott M.
4/27/2008 8:52:53 PM
That's a little misleading. You don't really "target" the 3.0 or 3.5
frameworks in the same sense that you "target" the 1.0, 1.1 or 2.0
frameworks. You can, however, use the 3.0 framework by installing the 3.0
framework and adding the extensions to VS as you mentioned.

-Scott

[quoted text, click to view]

RobinS
4/27/2008 9:31:25 PM
I was referring to the capability in VS2008 to let you denote which
framework you are targeting. My presumption is that if you target .Net 2.0,
you can not compile a project with .Net 3.0 components in it.

RobinS.

[quoted text, click to view]
Scott M.
4/28/2008 8:05:56 AM

[quoted text, click to view]

But when you install the 3.0 Framework and the VS extenstions for WCF and
WPF into VS 2005, you are still working against the 2.0 CLR (framework) but
using 3.0 components. So, you can, in fact, do exactly what you presume you
can't do.

That's my point, the 3.x Framework sit on top of the 2.0 Framework and so
you don't "target" the 3.x frameworks like you do the others.

-Scott

Michael D. Ober
4/28/2008 6:28:02 PM
[quoted text, click to view]
Actually, you do "target" the framework. By doing so, the compiler knows
which DLLs are to be loaded at runtime.

Mike.

RobinS
4/28/2008 11:17:04 PM

[quoted text, click to view]


Okay, let me say this again with different words:

Unless you are using VS2008, in which case if you want to use 3.0 or 3.5 you
have to change the Target Framework property in the Application tab of the
project properties.

Do you have VS2008?

RobinS.
GoldMail.com
AddThis Social Bookmark Button