Hi,
It's possible to develop only for .net 2.0 running Visual Studio 2008?
Thanks!
Hi,
It's possible to develop only for .net 2.0 running Visual Studio 2008?
Thanks!
Yes, VS2008 supports multi targeting. Check the project properties where you can select the target framweork.
Check out this article - http://weblogs.asp.net/scottgu/archive/2007/06/20/vs-2008-multi-targeting-support.aspx
You might be able to ditch 2005 now...
I still use 2.0 projects in VS 2008 on a weekly basis and it works perfectly.
Go to the Properties page of your project and click the "Application" tab. Under "Target Framework", you should be able to set the version you want to build for.
Note that the cool thing about VS 2008 is that even if you target to 2.0, you can still use some new language features in C# like "var", etc, even though you aren't using 3.5!
Yes, by setting the project property - but be aware that you're really targeting .NET 2.0 SP1 (which is required for .NET 3.5, effectively).
That means if you start using DateTimeOffset (introduced in .NET 2.0SP1) the compiler will think everything is fine and dandy - but if you deploy the app on a vanilla .NET 2.0 box, it won't work.