[英]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.