What's the difference between the .NET Framework SDK and the Targeting pack

前端 未结 2 1376
不知归路
不知归路 2020-12-23 13:19

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

  • .NET Framework 4.7.1 SDK
  • .NET Framework 4.7.1 t
2条回答
  •  执笔经年
    2020-12-23 13:37

    Here is the difference, according to

    docs.microsoft.com

    A targeting pack: lets your app target a specific version of the .NET Framework when developing in Visual Studio and some other development environments.

    A developer pack: includes a specific version of the .NET Framework and its accompanying SDK along with its corresponding targeting pack.

    In other words, for example: SDK 4.7.1 includes .NetFramework 4.7.1 and target pack 4.7.1. But if you want to target .Net Framework 4.6, you need to install the target pack 4.6

提交回复
热议问题