Question

Can I develop asp.net 3.5/2.0 projects using Visual Studio 2010? Or I will be stick on .Net Framework 4.0?

Was it helpful?

Solution

From MSDN VS 2010

The multi-targeting feature of Visual Studio lets you specify the version of the .NET Framework, or its profile, that is required for your application. The key benefit of multi-targeting is that you can use the current version of Visual Studio to create and develop projects that target earlier versions of the .NET Framework. For example, you can continue to develop projects that were created in Visual Studio 2008 without adding new .NET Framework dependencies.

OTHER TIPS

alt text

Yes, you can develop 2.0 and 3.5 ASP .NET projects, and other many other types of projects with Visual Studio 2010. When we built the multi-targeting support, we were especially sensitive to web development, because it wouldn't be realistic to expect that users would upgrade their servers immediately. In many cases, this wouldn't even be possible.

I have a project developed in ver 3.5 using VS 2008. I have now installed VS 2010 and when I go to open the project, the first screen says "Welcome to the Visual Studio Conversion Wizard" which says that the project must be converted. So looks like Wally is correct - the files will be different even if the framework remains the same.

Not if you use Unit Tests.

Attempted re-targeting of the project has been canceled. You cannot change the specified .NET framework version or profile for a test project.

Yes, SP1 is installed: Uninstall entry for VS2010sp1

No, you can't. You can target framework versions, but the project/solution files are different. VS 2008 complains. This is MS not being developer friendly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top