Can I develop asp.net 3.5/2.0 projects using Visual Studio 2010? Or I will be stick on .Net Framework 4.0?
我可以使用Visual Studio 2010开发asp.net 3.5/2.0项目吗?还是继续使用。net Framework 4.0?
6 个解决方案
#1
19
From MSDN VS 2010
从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.
Visual Studio的多目标特性允许您指定. net框架的版本,或者它的概要文件,这是应用程序所需要的。多目标的主要好处是,您可以使用当前版本的Visual Studio来创建和开发针对. net框架早期版本的项目。例如,您可以继续开发在Visual Studio 2008中创建的项目,而无需添加新的。net框架依赖项。
#2
20
#3
6
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.
是的,您可以开发2.0和3.5 ASP . net项目,以及其他许多与Visual Studio 2010相关的项目。当我们构建多目标支持时,我们对web开发特别敏感,因为期望用户立即升级他们的服务器是不现实的。在许多情况下,这甚至是不可能的。
#4
1
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.
我有一个用v3.5开发的项目,使用VS 2008。我现在已经安装了VS 2010,当我打开项目时,第一个屏幕上写着“欢迎来到Visual Studio转换向导”,它说项目必须被转换。所以看起来Wally是对的——即使框架保持不变,文件也会不一样。
#5
1
Not if you use Unit Tests.
如果您使用单元测试,就不会这样。
Yes, SP1 is installed:
是的,SP1安装:
#6
-4
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.
不,你不能。您可以针对框架版本,但是项目/解决方案文件是不同的。VS 2008抱怨道。这不是开发人员的友好。
#1
19
From MSDN VS 2010
从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.
Visual Studio的多目标特性允许您指定. net框架的版本,或者它的概要文件,这是应用程序所需要的。多目标的主要好处是,您可以使用当前版本的Visual Studio来创建和开发针对. net框架早期版本的项目。例如,您可以继续开发在Visual Studio 2008中创建的项目,而无需添加新的。net框架依赖项。
#2
20
#3
6
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.
是的,您可以开发2.0和3.5 ASP . net项目,以及其他许多与Visual Studio 2010相关的项目。当我们构建多目标支持时,我们对web开发特别敏感,因为期望用户立即升级他们的服务器是不现实的。在许多情况下,这甚至是不可能的。
#4
1
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.
我有一个用v3.5开发的项目,使用VS 2008。我现在已经安装了VS 2010,当我打开项目时,第一个屏幕上写着“欢迎来到Visual Studio转换向导”,它说项目必须被转换。所以看起来Wally是对的——即使框架保持不变,文件也会不一样。
#5
1
Not if you use Unit Tests.
如果您使用单元测试,就不会这样。
Yes, SP1 is installed:
是的,SP1安装:
#6
-4
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.
不,你不能。您可以针对框架版本,但是项目/解决方案文件是不同的。VS 2008抱怨道。这不是开发人员的友好。