If you have an older Visual Studio installer (2010 or 2012), the targeting pack is included by default.
If you need the reference assemblies for a build server (MSBuild) without an SDK, use the NuGet package.
Before downloading and installing the .NET Framework 4 Targeting Pack, ensure that your system meets the following requirements:
If you try to build an application for .NET 4.0, Visual Studio uses the Targeting Pack to ensure you aren't using functions that didn't exist in that version. Without it, your development environment (IDE) cannot compile the code for that specific target.
Once the pack is installed: