Developing to .NET 2.0 in VS 2008

Posts   
 
    
JMitchell avatar
JMitchell
User
Posts: 128
Joined: 01-Sep-2006
# Posted on: 15-Feb-2008 10:25:00   

I have not yet used VS 2008 but I understand I can designate a project to run against the .NET framework 2.0 so I can still develop programs that will run on Windows 2000. If I were to develop such a project, would I generate code for .NET 2.0 or .NET 3.0?

Thanks,

James

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 15-Feb-2008 10:36:13   

.NET 2.0 I suppose. simple_smile

JMitchell avatar
JMitchell
User
Posts: 128
Joined: 01-Sep-2006
# Posted on: 15-Feb-2008 10:41:13   

OK, I didn't know if the only difference was in the project file generated or if there were any non backward compatible code differences. I'll give it a go and let you know what happens!

Edit It doesn't seem to make too much difference on the face of it. I've not built it and tried it on a windows 2000 machine or anything yet though...

mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 17-Feb-2008 11:00:23   

FYI: .net 3.0 is just .net 2.0 + wpf/wf/wcf/cardspace. IOW the difference consist in a bunch of new assemblies.