dotnet 3.0 general question  
Author Message
gleason78





PostPosted: Common Language Runtime, dotnet 3.0 general question Top

I just installed the .net 3.0 sdk on my home computer with visual studio 2005. Does installing the framework have any effect on 2.0 projects Like will i have to say in visual studio what to compile under I'm confused about if there is a compile as 3.0 option, or if everything still compiles as 2.0. Also, if it is 2.0, what do you include to use new language features like var I'm confused about this and i also want to install it at work, but i don't want to mess up any of our projects.

.NET Development23  
 
 
Redburga





PostPosted: Common Language Runtime, dotnet 3.0 general question Top

.Net 3.0 is another Microsoft marketing blunder to confuse everyone, so you are rightfully confused. It's just .Net 2.0 with WCF, WWF, and WPF libraries added. When you go to c:\windows\microsoft .net\framework, you'll still see the v2.0.50727 folder from .Net 2. You'll also see a v3.0 folder, which contains the new components.

The download page even tells you:

For customers that already have the .NET Framework 2.0 installed, this .NET Framework 3.0 redistributable package installs only the new Windows Vista components. This ensures that any .NET Framework 2.0-based applications work seamlessly when the .NET Framework 3.0 is installed, with no application migration or updates of any kind required.


 
 
silverfrost





PostPosted: Common Language Runtime, dotnet 3.0 general question Top

So, just so I am clear on this:

Any class that was shipped with .NET 2.0 will have *exactly* the same methods/propertes/IL as in .NET 3.0


 
 
Redburga





PostPosted: Common Language Runtime, dotnet 3.0 general question Top

AFAIK, that's the plan. I don't have our Vista box on right now; I wanted to check the version numbers of WWF, WCF, and WPF. I imagine they are 3.x something. However, the core .Net stuff remains with the 2 version; they didn't change the framework.

So officially, if you're using WWF, WCF, and/or WPF, you need the 3.0 framework install for your app to run. However, if you're not using those, you should be able to develop an application in "3.0" and it should work fine on a machine that just has 2.0 installed.


 
 
silverfrost





PostPosted: Common Language Runtime, dotnet 3.0 general question Top

There is a vid by Jason Zander here on the rename and which bits are needed

http://channel9.msdn.com/ShowPost.aspx PostID=231914

 
 
gleason78





PostPosted: Common Language Runtime, dotnet 3.0 general question Top

What about raw language enhancements then like for instance "var" Do you have to include a using statement or dll for them How does it know to include it
 
 
CactusB





PostPosted: Common Language Runtime, dotnet 3.0 general question Top

This is a little old now, but since it didn't get answered ...

There are no language enhancements in .NET 3.0, previously known as WinFX. The specific feature you mention, "var" (anonymous types) will be in the NEXT version of the framework that is slated to ship with the next version of Visual Studio, "Orcas".

-- cactus

 
 
Jyots





PostPosted: Common Language Runtime, dotnet 3.0 general question Top

Hi

I am working on DotNetNuke which is running on Dotnet 2.0. Will there be a problem if i have DotNet 3.0 inmy machine Will that affect dotnetnuke framework

Thanks