Install the .NET Framework developer pack or redistributable - .NET Framework (original) (raw)

.NET Framework is an integral part of many apps running on Windows and provides common functionality for those apps to run. For developers, .NET Framework provides a comprehensive and consistent programming model for building apps that have visually stunning user experiences and seamless and secure communication.

Note

This article is intended for developers who either want to install .NET Framework on their own system or who want to install it with their applications. For users interested in installing .NET Framework, see Install .NET Framework on Windows and Windows Server.

This article provides links for installing all versions of .NET Framework from .NET Framework 4.5 to .NET Framework 4.8.1 on your computer. If you're a developer, you can also use these links to download and redistribute .NET Framework with your apps. For information on deploying a version of .NET Framework with your app, see .NET Framework deployment guide for developers.

Important

.NET Framework content that was previously digitally signed using certificates that use the SHA1 algorithm must be retired in order to support evolving industry standards.

The following versions of .NET Framework are no longer supported as of April 26, 2022: 4.5.2, 4.6, and 4.6.1. Security fixes, updates, and technical support for these versions are no longer provided.

If you're using .NET Framework 4.5.2, 4.6, or 4.6.1, update your deployed runtime to a more recent version, such as .NET Framework 4.6.2 or .NET Framework 4.8.1, to continue to receive updates and technical support.

Updated SHA2 signed installers are available for .NET Framework 3.5 SP1, and 4.6.2 through 4.8. For more information, see the SHA1 retirement plan, the .NET 4.5.2, 4.6, and 4.6.1 lifecycle update blog post, and the FAQ.

Important

All .NET Framework versions since .NET Framework 4 are in-place updates, so only a single 4.x version can be present on a system. In addition, particular versions of .NET Framework are preinstalled on some versions of the Windows operating system. This means that:

For more information about versions of .NET Framework and how to determine which versions are installed on a computer, see Versions and Dependencies and How to: Determine Which .NET Framework Versions Are Installed.

Use the following table for quick links, or read further for details. To view the system requirements for .NET Framework before installation, see System Requirements. For help with troubleshooting, see Troubleshooting.

.NET Framework version Installer (Developer Pack and Runtime) Platform support
4.8.1 .NET Framework 4.8.1 **Included in:**Windows 11 version 22H2Visual Studio 2022 and later versions **You can install on:**Windows 11Windows 10 version 21H2Windows 10 version 21H1Windows 10 version 20H2Windows Server 2022 (for a full list, see system requirements)
4.8 .NET Framework 4.8 **Included in:**Windows 11Windows 10 May 2019 Update (and later versions)Visual Studio 2019 (version 16.3) **You can install on:**Windows 10 October 2018 UpdateWindows 10 April 2018 UpdateWindows 10 Fall Creators UpdateWindows 10 Creators Update Windows 10 Anniversary Update Windows 8.1 and earlierWindows Server 2022 Windows Server 2019Windows Server, Version 1809Windows Server, Version 1803 (for a full list, see system requirements)
4.7.2 .NET Framework 4.7.2 Included in: Windows 10 October 2018 UpdateWindows 10 April 2018 UpdateWindows Server 2019Windows Server, Version 1809Windows Server, Version 1803Visual Studio 2017 (15.8 update) You can install on: Windows 10 Fall Creators UpdateWindows 10 Creators Update Windows 10 Anniversary Update Windows 8.1 and earlier Windows Server, version 1709 and earlier (for a full list, see system requirements)
4.7.1 .NET Framework 4.7.1 Included in: Windows 10 Fall Creators UpdateWindows Server, version 1709Visual Studio 2017 (15.5 update) You can install on: Windows 10 Creators Update Windows 10 Anniversary Update Windows 8.1 and earlier Windows Server 2016 and earlier (for a full list, see system requirements)
4.7 .NET Framework 4.7 Included in: Windows 10 Creators UpdateVisual Studio 2017 (15.3 update) You can install on: Windows 10 Anniversary Update Windows 8.1 and earlier Windows Server 2016 and earlier (for a full list, see system requirements)
4.6.2 .NET Framework 4.6.2 Included in: Windows 10 Anniversary Update You can install on: Windows 10 November Update Windows 10 Windows 8.1 and earlier Windows Server 2012 R2 and earlier (for a full list, see system requirements)
4.6.1 .NET Framework 4.6.1 Included in: Visual Studio 2015 Update 2You can install on: Windows 10 Windows 8.1 and earlier Windows Server 2012 R2 and earlier (for a full list, see system requirements)
4.6 .NET Framework 4.6 Included in: Windows 10 Visual Studio 2015 You can install on: Windows 8.1 and earlier Windows Server 2012 R2 and earlier (for a full list, see system requirements)
4.5.2 .NET Framework 4.5.2 You can install on: Windows 8.1 and earlier Windows Server 2012 R2 and earlier (for a full list, see system requirements)
4.5.1 .NET Framework 4.5.1 **Included in:**Windows 8.1 Windows Server 2012 R2 Visual Studio 2013 You can install on: Windows 8 and earlier Windows Server 2012 and earlier(for a full list, see system requirements)
4.5 .NET Framework 4.5 Included in: Windows 8 Windows Server 2012 Visual Studio 2012 You can install on: Windows 7 and earlier Windows Server 2008 SP2 and earlier(for a full list, see system requirements)

Important

Starting with Visual Studio 2022, Visual Studio no longer includes .NET Framework components for .NET Framework 4.0 - 4.5.1 because these versions are no longer supported. Visual Studio 2022 and later versions can't build apps that target .NET Framework 4.0 through .NET Framework 4.5.1. To continue building these apps, you can use Visual Studio 2019 or an earlier version.

You can install the Developer Pack for a specific version of the .NET Framework, if one is available, on all supported platforms.

Developer Packs only target a specific version of .NET Framework and don't include previous versions. For example, the .NET Framework 4.8 Developer Pack doesn't include .NET Framework 4.7.

You can install the Web or Offline installer on:

For a full list, see System Requirements.

For a general introduction to .NET Framework for both users and developers, see Getting Started. For information about deploying .NET Framework with your app, see the deployment guide. To read about the architecture and key features of .NET Framework, see the overview.

Installation choices

Install a developer targeting pack to develop against the most recent version of .NET Framework in Visual Studio or another development environment, or download the .NET Framework redistributable for distribution with your app or control.

To install the .NET Framework Developer Pack or Targeting Pack

A targeting pack lets your app target a specific version of .NET Framework when developing in Visual Studio and some other development environments. A developer pack includes a specific version of .NET Framework and its accompanying SDK along with its corresponding targeting pack.

The developer pack for .NET Framework 4.5.1 or 4.5.2, the targeting pack for .NET Framework 4.6, and the developer pack for .NET Framework 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, or 4.8 provides a particular .NET Framework's version of the reference assemblies, language packs, and IntelliSense files for use in an integrated development environment such as Visual Studio. If you're using Visual Studio, the developer pack or targeting pack also adds the installed version of .NET Framework to the target choices when you create a new project. Choose one of the following:

From the developer pack download page, choose Download. Next, choose Run or Save, and follow the instructions when prompted. You can also install the developer pack or targeting pack for a specific version of .NET Framework by selecting it from the optional components in the .NET desktop development workload in the Visual Studio Installer, as the following figure shows.

Visual Studio installer with .NET Framework options selected.

When you target a particular version of .NET Framework, your application is built by using the reference assemblies that are included with that version's developer pack. At runtime, assemblies are resolved from the Global Assembly Cache, and the reference assemblies are not used.

When building an application from Visual Studio or using MSBuild from the command line, MSBuild may display error MSB3644, "The reference assemblies for framework "framework-version" were not found." To address the error, download the developer pack or the targeting pack for that version of .NET Framework.

To install or download the .NET Framework redistributable

Installers download .NET Framework components for an app or control that targets those versions of .NET Framework. These components must be installed on each computer where the app or control runs. These installers are redistributable, so you can include them in the setup program for your app.

The download page is provided in several languages, but most of the downloads are provided in English only. For additional language support, you must install a language pack.

Two types of redistributable installers are available:

Both web and offline installers are designed for x86-based and x64-based computers (see system requirements), but do not support Itanium-based computers.

  1. Open the download page for the .NET Framework version you want to install:
  2. Select the language for the download page. This option does not download the localized resources of .NET Framework; it only affects the text displayed on the download page.
  3. Choose Download.
  4. If prompted, select the download that matches your system architecture, and then choose Next.
  5. When the download prompt appears, do one of the following:
    • If you want to install .NET Framework on your computer, choose Run, and then follow the prompts on your screen.
    • If you want to download .NET Framework for redistribution, choose Save, and then follow the prompts on your screen.
  6. If you want to download resources for additional languages, follow the instructions in the next section to install one or more language packs.

Note

If you encounter any problems during the installation, see Troubleshooting.

Installation notes:

To install language packs

Language packs are executable files that contain the localized resources (such as translated error messages and UI text) for supported languages. If you don't install a language pack, .NET Framework error messages and other text are displayed in English. Note that the web installer automatically installs the language pack that matches your operating system, but you can download additional language packs to your computer. The offline installers don't include any language packs.

Important

The language packs don't contain the .NET Framework components that are required to run an app, so you must run the web or offline installer before you install a language pack. If you have already installed a language pack, uninstall it, install the .NET Framework, and then reinstall the language pack.

  1. Open the language pack download page for the .NET Framework version you've installed:
  2. In the language list, choose the language you want to download, and wait a few seconds for the page to reload in that language.
  3. Choose Download.

The following table lists the supported languages.

Language Culture
Arabic ar
Czech cs
Danish da
Dutch nl
Finnish fi
English (USA) en-US
French fr
German de
Greek el
Hebrew he
Hungarian hu
Italian it
Japanese ja
Korean ko
Norwegian no
Polish pl
Portuguese (Brazil) pt-BR
Portuguese (Portugal) pt-PT
Russian ru
Simplified Chinese zh-CHS
Spanish es
Swedish sv
Traditional Chinese zh-CHT
Turkish tr

Next steps

See also