问题
Can I develop asp.net 3.5/2.0 projects using Visual Studio 2010? Or I will be stick on .Net Framework 4.0?
回答1:
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.
回答2:
回答3:
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.
回答4:
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.
回答5:
Not if you use Unit Tests.
Yes, SP1 is installed:
回答6:
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.
来源:https://stackoverflow.com/questions/891507/can-i-develop-asp-net-3-5-2-0-projects-using-visual-studio-2010