.NET 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 the individual articles that discuss installing .NET Framework on specific operating systems, such as Install .NET Framework on Windows 10 and Windows Server 2016.
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 previously digitally signed using certificates that use the SHA1 algorithm, will be retired in order to support evolving industry standards.
The following versions of .NET Framework will reach end-of-support on April 26, 2022: 4.5.2, 4.6, and 4.6.1. After this date, security fixes, updates, and technical support for these versions will no longer be 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, before April 26, 2022 in order to continue to receive updates and technical support.
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:
If there's a later 4.x version installed on the machine already, you can't install a previous 4.x version.
If the OS comes preinstalled with a particular .NET Framework version, you can't install a previous 4.x version on the same machine.
If you install a later version, you don't have to first uninstall the previous version.
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.
Windows 10 October 2018 Update Windows 10 April 2018 Update Windows 10 Fall Creators Update Windows 10 Creators Update Windows 10 Anniversary Update Windows 8.1 and earlier Windows Server 2022 Windows Server 2019 Windows Server, Version 1809 Windows Server, Version 1803
Windows 10 October 2018 Update Windows 10 April 2018 Update Windows Server 2019 Windows Server, Version 1809 Windows Server, Version 1803 Visual Studio 2017 (15.8 update)
You can install on:
Windows 10 Fall Creators Update Windows 10 Creators Update Windows 10 Anniversary Update Windows 8.1 and earlier Windows Server, version 1709 and earlier
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)
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.
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:
.NET Framework 4.5.2 to install version 4.5.2 on Windows 8.1 or earlier, Visual Studio 2013, Visual Studio 2012, or other IDEs.
.NET Framework 4.5.1 to install version 4.5.1 on Visual Studio 2012 or other IDEs.
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.
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 run time, 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:
Web installer (web bootstrapper) downloads the required components and the language pack that matches the operating system of the installation computer from the web. This package is much smaller than the offline installer but requires a consistent Internet connection. You can download the standalone language packs to install additional language support.
Offline installer (standalone redistributable) contains all the required components for installing .NET Framework but doesn't contain language packs. This download is larger than the web installer. The offline installer doesn't require an internet connection. After you run the offline installer, you can download the standalone language packs to install language support. Use the offline installer if you can't rely on having a consistent Internet connection.
Both web and offline installers are designed for x86-based and x64-based computers (see system requirements), but do not support Itanium-based computers.
Open the download page for the .NET Framework version you want to install:
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.
Choose Download.
If prompted, select the download that matches your system architecture, and then choose Next.
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.
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:
.NET Framework 4.5 and later versions replace .NET Framework 4.0. When you install these versions on a system that has .NET Framework 4 installed, the assemblies are replaced.
Uninstalling .NET Framework 4.5 or later versions also removes pre-existing .NET Framework 4 files. If you want to go back to .NET Framework 4, you must reinstall it and any updates to it. See Installing the .NET Framework 4.
You must have administrative credentials to install .NET Framework 4.5 or later versions.
The .NET Framework 4.5 redistributable was updated on October 9, 2012 to correct an issue related to an improper timestamp on a digital certificate, which caused the digital signature on files produced and signed by Microsoft to expire prematurely. If you previously installed the .NET Framework 4.5 redistributable package dated August 16, 2012, we recommend that you update your copy with the latest redistributable from the .NET Framework download page. For more information about this issue, see Microsoft Security Advisory 2749655.
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.
Open the language pack download page for the .NET Framework version you've installed:
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
.NET is a free, cross-platform, open source developer platform for building many different types of applications. With .NET, you can use multiple languages, editors, and libraries to build for web, mobile, desktop, games, and IoT.