.NET Framework SDK和Targeting包之间有什么区别

时间:2022-02-04 19:02:50

I'm trying to install the .NET Framework 4.7.1 in Visual Studio and I'm given the choice to install:

我正在尝试在Visual Studio中安装.NET Framework 4.7.1,我可以选择安装:

  • .NET Framework 4.7.1 SDK
  • .NET Framework 4.7.1 SDK
  • .NET Framework 4.7.1 targeting pack
  • .NET Framework 4.7.1定位包

Do I need them both? What's the difference between each of them?

我需要它们吗?他们每个人之间有什么区别?

1 个解决方案

#1


11  

.NET Framework SDK, is a software development kit (SDK) from Microsoft.

.NET Framework SDK是Microsoft的软件开发工具包(SDK)。

It is required to develop applications for the .NET Framework and it contains:

它需要为.NET Framework开发应用程序,它包含:

  • documentation
  • 文件
  • header files
  • 头文件
  • libraries
  • 图书馆
  • Samples and tools.
  • 样品和工具。

.NET Framework SDK is dedicated to developing applications for .NET Framework. When installing visual studio, this is enough.

.NET Framework SDK专门用于开发.NET Framework应用程序。安装visual studio时,这就足够了。

Targeting pack is needed when You are targeting a particular .NET framework which is different from your currently installed .NET framework.

当您定位与当前安装的.NET框架不同的特定.NET框架时,需要定位包。

In the case of the targeting pack, let's say you build your application using .NET 4.7 but the client has .NET 4.5. For this type of scenario you can target the client's version even though you are using a higher version.

对于目标包,假设您使用.NET 4.7构建应用程序,但客户端具有.NET 4.5。对于此类场景,即使您使用的是更高版本,也可以定位客户端的版本。

Here you can see how to target a particular .NET framework.

在这里,您可以看到如何定位特定的.NET框架。

Hope it helped!

希望它有所帮助!

#1


11  

.NET Framework SDK, is a software development kit (SDK) from Microsoft.

.NET Framework SDK是Microsoft的软件开发工具包(SDK)。

It is required to develop applications for the .NET Framework and it contains:

它需要为.NET Framework开发应用程序,它包含:

  • documentation
  • 文件
  • header files
  • 头文件
  • libraries
  • 图书馆
  • Samples and tools.
  • 样品和工具。

.NET Framework SDK is dedicated to developing applications for .NET Framework. When installing visual studio, this is enough.

.NET Framework SDK专门用于开发.NET Framework应用程序。安装visual studio时,这就足够了。

Targeting pack is needed when You are targeting a particular .NET framework which is different from your currently installed .NET framework.

当您定位与当前安装的.NET框架不同的特定.NET框架时,需要定位包。

In the case of the targeting pack, let's say you build your application using .NET 4.7 but the client has .NET 4.5. For this type of scenario you can target the client's version even though you are using a higher version.

对于目标包,假设您使用.NET 4.7构建应用程序,但客户端具有.NET 4.5。对于此类场景,即使您使用的是更高版本,也可以定位客户端的版本。

Here you can see how to target a particular .NET framework.

在这里,您可以看到如何定位特定的.NET框架。

Hope it helped!

希望它有所帮助!