visual-studio-2012 - .NET Framework 4.6.1 Targeting Pack 和 .NET Framework 4.6.1 Runtime 之间有什么区别?

标签 visual-studio-2012 .net-4.6.1

我想使用 Visual Studio 2012 开发 .net 框架 4.6.1 应用程序。所以,我尝试为 Visual Studio 2012 安装 4.6.1 开发人员包。但是当我去这个时 link安装框架。它为我提供了两个链接,一个用于 .NET Framework 4.6.1 Targeting Pack,另一个用于 .NET Framework 4.6.1 Runtime。
我应该安装其中的哪一个?

最佳答案

要在 Visual Studio 2012 或更高版本中使用该框架,请安装开发人员类型版本。

运行时类型版本是一个较轻的版本,旨在在服务器上运行应用程序。此运行时版本没有 Visual Studio 所需的信息/扩展,因此 Visual Studio 无法使用它们。

查看原因 was-the-developer-pack-originally-called-sdk

更新(2018-01-08)

目前,下载页面为.NET SDKs for Visual Studio .
第一列包含 Developer Pack 版本,对于 Visual Studios,中间列作为要安装在生产服务器上的运行时版本。

关于visual-studio-2012 - .NET Framework 4.6.1 Targeting Pack 和 .NET Framework 4.6.1 Runtime 之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35402827/

相关文章:

c# - Visual Studio 2012 不创建新的 SQL 表

c++ - 宏使用 GCC 编译但不使用 VS11

c# - WPF TextBlock 单击事件

nuget-package - NLua nuget 包还原在 VS 2017 中失败

web-config - 4.6.1 框架更新使 web.config httpRuntime 仍为 4.5?

nuget - 运行NuGet pack命令时,出现错误: 'AutoMapper' already has a dependency defined for 'NETStandard.Library'

c# - 命名管道错误 40 : Visual Studio 2012 MySQL

.net - 无法在Visual Studio项目属性中选择.NET Framework 4.6.1

.net - 在脱机 Windows Server 2012 R2 上运行 Azure csrun 时出错

c# - 什么能在 .NET 2 上运行,什么不能运行?