Does VB2005 work on .NET Framework 3.0?

Hello

If I just have .NET Framework 3.0 (I don't have 2.0), do my projects work on the computer welll?

Thanks

[129 byte] By [onh1986] at [2007-12-28]
# 1
If you have .NET 3.0 installed then you can be sure you also have .NET 2.0 installed too. .NET 3.0 needs 2.0 to work and it installs 2.0 automatically.
MikeDanes at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2

Mike Danes wrote:
If you have .NET 3.0 installed then you can be sure you also have .NET 2.0 installed too. .NET 3.0 needs 2.0 to work and it installs 2.0 automatically.

Does .NET Framework package include .NET Framework 2.0?

Because I wanna give my program (built by VB2005) to my friends.

Do I have to give him .NET 2.0 or .NET 3.0? which one is recommended?

Thanks

onh1986 at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 3

The .NET 3.0 installer includes .NET 2.0 installer (that's why it has ~ 50 megabytes). If you have a very small version of it (something like 2 megabytes or less) it will download the rest from the Microsoft download site.

"Do I have to give him .NET 2.0 or .NET 3.0? which one is recommended?"

You don't need .NET 3.0 if you did not use any of its features but it's nothing wrong if you install it.

MikeDanes at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 4
OK, can I make VB2005 work by using .NET 3.0 not .NET 2.0?
onh1986 at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 5

The 3.0 version is a bit strange because it uses the 2.0 version. Basically 3.0 only adds some new assemblies. All the rest (runtime, compilers, all assemblies you know in 2.0) are still the ones from .NET 2.0. For this reason using .NET 3.0 in VB 2005 means to add references to the new assemblies provided with 3.0 and write code to use them.

In addition there are 2 things that can be installed to extend VB 2005 (except if you use the Express Edition):

1) Visual Studio 2005 Extensions for .NET Framework 3.0 (Windows Workflow Foundation) - a designer for .NET 3.0 workflows

http://www.microsoft.com/downloads/details.aspx?FamilyId=5D61409E-1FA3-48CF-8023-E8F38E709BA6&displaylang=en

2) Visual Studio 2005 Extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP - a designer for WPF (XAML) and some tools to work with WCF

http://www.microsoft.com/downloads/details.aspx?FamilyId=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en

Note that this one is just a CTP and its functionality is limited. Complete support for WPF & WCF is targeted for the next version of Visual Studio codenamed Orcas.

For more info about .NET 3.0 and its new technologies see

http://www.netfx3.com/

MikeDanes at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 6

I downloaded Visual Studio 2005 Extensions for .NET Framework 3.0 (WCF & WPF) but when I launch it, it shows a message:

Setup has detected that a recommended compenetes is missing, it's ".NET Framework 3.0 Windows SDK".

Is that important?

But I could install Visual Studio 2005 Extensions for .NET Framework 3.0 (WCF & WPF).

onh1986 at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 7

This is about the Windows SDK:

http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf&DisplayLang=en

It's a large download but it contains the help and samples for .NET 3.0 classes. You can try the "Web Install" version (see down on that page) and choose only what you need to get a smaller download if the download size is an issue.

I'd avoit installing that extension without it, at least for me at messed the VS existing help a bit.

MikeDanes at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 8

Can you tell me shorty what the main differences between .NET 2.0 and .NET 3.0?

Is .NET 3.0 faster?

Thanks

It's last question.

onh1986 at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 9

I already explained that .NET 3.0 uses the same runtime and compilers as .NET 2.0. So it cannot be any faster than 2.0. .NET 3.0 just adds some new technologies:

WPF - Windows Presentation Foundation (can be used to develop rich graphical interfaces)

WCF - Windows Communication Foundation

WF - Windows Workflow Foundation

WCS - Windows Card Space

I cannot say much about last 3 because I haven't used them much. See the www.netfx3.com I told you in a previous post.

MikeDanes at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 10
Thanks Mike Danes
onh1986 at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...