简体   繁体   English

是否可以使用Visual Studio Community开发.NET Framework v4.0?

[英]Is it possible to develop for .NET framework v4.0 using Visual Studio Community?

I have an ASP.NET project which is currently targeting .NET Framework 4.5. 我有一个ASP.NET项目,当前目标是.NET Framework 4.5。 Due to the fact that it'll be deployed on Windows Server 2003, it needs to be downgraded to v4.0 (the last supported version according to https://msdn.microsoft.com/en-us/library/bb822049(v=vs.110).aspx . 由于它将在Windows Server 2003上进行部署,因此需要将其降级到v4.0(根据https://msdn.microsoft.com/zh-cn/library/bb822049(v = vs.110).aspx

I'm aware that both versions can't be run side-by-side... is it possible to uninstall v4.5 on my version of Visual Studio Community and replace it with v4? 我知道这两个版本不能同时运行...是否可以在我的Visual Studio Community版本上卸载v4.5并将其替换为v4? Are there any other workarounds? 还有其他解决方法吗?

4.5 and 4.0 both target the same CLR version, which is 4.0. 4.5和4.0都针对相同的CLR版本4.0。 You can have the compiler target 4.0 by changing the project settings. 您可以通过更改项目设置来获得编译器目标版本4.0。 You don't need to uninstall anything. 您不需要卸载任何东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 升级到IIS应用程序池ASP.NET V4.0有什么可能的影响? - What are the possible effects of upgrading to IIS Application Pool ASP.NET V4.0? 我可以在Visual Studio 2008中为.NET Framework 4开发吗? - Can I develop for .NET Framework 4 in Visual Studio 2008? 是否可以在Visual Studio for Mac中开发ASP.NET MVC应用程序? - Is it possible to develop ASP.NET MVC applications in Visual Studio for Mac? .NET Framework 4.0是否作为Visual Studio 2010安装的一部分安装? - Is .NET Framework 4.0 installed as part of Visual Studio 2010 install? 将ASP.NET 5与Visual Studio 2013 Community Edition一起使用 - Using ASP.NET 5 with Visual Studio 2013 Community Edition 授予用户IIS APPPOOL \\ ASP.NET v4.0的权限不足以执行此操作。 (rsAccessDenied) - The permissions granted to user IIS APPPOOL\ASP.NET v4.0 are insufficient for performing this operation. (rsAccessDenied) 如何在Windows Azure上禁用ASP.NET v4.0无扩展URL功能 - How to Disable the ASP.NET v4.0 Extensionless URL feature on Windows Azure VS2008上的“无法在对象浏览器中查看此项目”-ASP.NET C#v4.0 - “This project cannot be viewed in object browser” on VS2008 - ASP.NET C# v4.0 如何在asp.net(v4.0)中创建cron作业以每30分钟运行一次方法 - how to create cron job in asp.net(v4.0) to run method every 30mins 用户“IIS APPPOOL\ASP.NET v4.0”登录失败 - Login failed for user 'IIS APPPOOL\ASP.NET v4.0'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM