Net framework 4 для windows server 2008 r2 x64

Общая информация о .NET Framework и способы установки в ОС Windows. Программная платформа .NET Framework была разработана компанией Microsoft.

Программная платформа .NET Framework была разработана компанией Microsoft для того, чтобы дать возможность разработчикам абстрагироваться от системного окружения конкретного компьютера, на котором будет исполняться их программа. В этом случае не будет иметь значения какая операционная система установлена, какой процессор и другое аппаратное обеспечение используется — главное, чтобы на компьютере была установлена среда .NET Framework, которая обеспечивает исполнение кода и взаимодействие с необходимыми компонентами окружения. Для работы с этой платформой были разработаны или адаптированы специальные языки программирования C#.NET, VB.NET, C++.NET, J#.NET, F#.NET и т.д.

Достаточно большое количество программ написано под эту платформу, поэтому нужно знать, как установить ее на сервер.

.NET Framework актуальной версии (4.x) уже включен на серверах Windows, развернутых из наших шаблонов. Если требуется включить предыдущую версию (3.5) или же сервер развернут из собственного шаблона/установлен из дистрибутива, можно воспользоваться нижеследующей инструкцией.

Установка компонента .NET Framework в ОС Windows Server

Включение компонента .NET Framework в OC Windows Server возможно с использованием Windows Update или с использованием локального хранилища компонентов (потребуются файлы с дистрибутива ОС). Рассмотрим оба варианта.

Вариант 1

Самый простой и быстрый способ, при наличии подключения к сети Интернет, это установка компонента .NET Framework 3.5 с сервера Microsoft Windows Update (актуально для Windows Server 2008R2/2012R2/2016/2019).

Запускаем PowerShell с правами администратора: Пуск — правый клик по ярлыку Windows Powershell — Запуск от имени Администратора (Run as Administrator):

64_pic11

В открывшемся окне PowerShell набираем команду:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All

Eсли установка производится на Windows Server 2008R2:
DISM /Online /Enable-Feature /FeatureName:NetFx3

Нажимаем Enter и ожидаем завершения установки:

16_pic10

Вариант 2

Для установки с использованием локального хранилища (или дистрибутива ОС Windows) через графический интерфейс (Windows Server 2012R2/2016/2019 ):

Запускаем Диспетчер серверов (Server Manager), нажимаем Управление (Manage) – Добавить роли и компоненты (Add Roles and Features):

14_pic1-1

В появившемся окне нажимаем Далее (Next):

57_pic2

В окне Выбор типа установки (Select installation type) убеждаемся, что выбран пункт установка ролей и компонентов (Role-based or feature-based installation), нажимаем Далее (Next):

100_pic3

Выбор целевого сервера (Select destination server) – проверяем, что в списке выбран требуемый сервер, нажимаем Далее (Next):

29_pic4

Пропускаем Выбор ролей сервера (Select server roles), нажимаем Далее (Next):

90_pic5-1

В окне Выбор компонентов (Select features) находим в списке требуемую версию .NET Framework и отмечаем галкой, нажимаем Далее (Next):

45_pic6

В случае установки актуальной версии .NET Framework (4.x) в данном окне можно нажимать кнопку Установить (Install), после чего начнется процесс инсталляции из локального хранилища. Если же мы устанавливаем предыдущую версию (3.5), то появится предупреждение, что необходимые для установки файлы отсутствуют и нужно указать путь к данным файлам. Понадобится либо дистрибутив установленной версии дистрибутива ОС Windows, либо копия папки SourcesSxS с этого дистрибутива. Нажимаем на ссылку Указать альтернативный исходный путь (Specify an alternate source path):

32_pic7

В открывшейся форме указываем путь к папке SourcesSxS дистрибутива текущей версии (или копии этой папки – в нашем примере папка скопирована на локальный диск в c:tempsxs), нажимаем ОК:

52_pic8

Вернувшись на форму Подтверждение компонентов установки (Confirm installation selections) нажимаем Установить (Install) и ожидаем окончания установки. Закрываем форму:

53_pic9

Установка на Windows server 2008R2 также производится через Диспетчер серверов:

Запускаем Диспетчер серверов, переходим в раздел Компоненты, нажимаем Добавить компоненты:

86_pic12

В списке компонентов находим и ставим галку на .NET Framework, нажимаем Далее:

29_pic13

В следующем окне нажимаем кнопку Установить:

9_pic14

Дожидаемся успешного окончания установки и закрываем окно:

81_pic15

Установка актуальной версии .NET Framework (4.x) в ОС Windows Server 2008R2 через добавление компонентов не работает. Для инсталляции потребуется скачать автономный установщик с сайта Microsoft (например, по ссылке https://www.microsoft.com/ru-RU/download/details.aspx?id=55167) и установить как обычную программу.

Аverage rating : 3.3

Оценок: 3

220140
Минск
ул. Домбровская, д. 9

+375 (173) 88-72-49

700
300

ООО «ИТГЛОБАЛКОМ БЕЛ»

220140
Минск
ул. Домбровская, д. 9

+375 (173) 88-72-49

700
300

ООО «ИТГЛОБАЛКОМ БЕЛ»

700
300

The .NET Framework is Microsoft’s comprehensive and consistent programming model for building applications that have visually stunning user experiences, seamless and secure communication, and the ability to model a range of business processes.

The .NET Framework 4 works side by side with older Framework versions. Applications that are based on earlier versions of the Framework will continue to run on the version targeted by default.

The Microsoft .NET Framework 4 provides the following new features and improvements:

* Improvements in Common Language Runtime (CLR) and Base Class Library (BCL)

* Performance improvement including better multicore support, background garbage collection, and profiler attach on server.

* New memory mapped file and numeric types.

* Easier debugging including dump debugging, Watson minidumps, mixed mode debugging for 64 bit and code contracts.

* For a comprehensive list of enhancements to CLR and BCL go here.

* Innovations in the Visual Basic and C# languages, for example statement lambdas, implicit line continuations, dynamic dispatch, and named/optional parameters.

* Improvements in Data Access and Modeling

* The Entity Framework enables developers to program against relational databases using .NET objects and Language Integrated Query (LINQ). It has many new features, including persistence ignorance and POCO support, foreign key associations, lazy loading, test-driven development support, functions in the model, and new LINQ operators. Additional features include better n-tier support with self-tracking entities, customizable code generation using T4 templates, model first development, an improved designer experience, better performance, and pluralization of entity sets. For more information go here.

* WCF Data Services is a component of the .NET Framework that enables you to create REST-based services and applications that use the Open Data Protocol (OData) to expose and consume data over the Web. WCF Data Services has many new features, including enhanced BLOB support, data binding, row count, feed customization, projections, and request pipeline improvements. Built-in integration with Microsoft Office 2010 now makes it possible to expose Microsoft Office SharePoint Server data as an OData feed and access that data feed by using the WCF Data Services client library. For more information go here.

* Enhancements to ASP.NET

* More control over HTML, element IDs and custom CSS that make it much easier to create standards-compliant and SEO-friendly web forms.

* New dynamic data features including new query filters, entity templates, richer support for Entity Framework 4, and validation and templating features that can be easily applied to existing web forms.

* Web forms support for new AJAX library improvements including built-in support for content delivery networks (CDNs).

* For a comprehensive list of enhancements to ASP.NET go here.

* Improvements in Windows Presentation Foundation (WPF)

* Added support for Windows 7 multi-touch, ribbon controls, and taskbar extensibility features.

* Added support for Surface 2.0 SDK.

* New line-of-business controls including charting control, smart edit, data grid, and others that improve the experience for developers who build data centric applications.

* Improvements in performance and scalability.

* Visual improvements in text clarity, layout pixel snapping, localization, and interoperability.

* For a comprehensive list of enhancements to WPF go [here](https://msdn.microsoft.com/en-us/library/bb613588(VS.100).aspx).

* Improvements to Windows Workflow (WF) that enable developers to better host and interact with workflows. These include an improved activity programming model, an improved designer experience, a new flowchart modeling style, an expanded activity palette, workflow-rules integration, and new message correlation features. The .NET Framework 4 also offers significant performance gains for WF-based workflows. For a comprehensive list of enhancements to WF go [here](https://msdn.microsoft.com/en-us/library/dd489410(VS.100).aspx).

* Improvements to Windows Communication Foundation (WCF) such as support for WCF Workflow Services enabling workflow programs with messaging activities, correlation support. Additionally, .NET Framework 4 provides new WCF features such as service discovery, routing service, REST support, diagnostics, and performance. For a comprehensive list of enhancements to WCF go [here](https://msdn.microsoft.com/en-us/library/dd456789(VS.100).aspx).

* Innovative new parallel-programming features such as parallel loop support, Task Parallel Library (TPL), Parallel LINQ (PLINQ), and coordination data structures which let developers harness the power of multi-core processors.

__System requirement__

Supported operating systems: Windows 7, Windows 7 Service Pack 1, Windows Server 2003 Service Pack 2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2008 R2 SP1, Windows Vista Service Pack 1, Windows XP Service Pack 3

* Windows XP SP3

* Windows Server 2003 SP2

* Windows Vista SP1 or later

* Windows Server 2008 (not supported on Server Core Role)

* Windows 7

* Windows Server 2008 R2 (not supported on Server Core Role)

* Windows 7 SP1

* Windows Server 2008 R2 SP1

Supported Architectures

* x86

* x64

* ia64 (some features are not supported on ia64 for example, WPF)

Hardware Requirements

* Recommended Minimum: Pentium 1 GHz or higher with 512 MB RAM or more

* Minimum disk space:

* x86 — 850 MB

* x64 — 2 GB

Prerequisites

* [Windows Installer 3.1](https://www.microsoft.com/downloads/details.aspx?familyid=889482fc-5f56-4a38-b838-de776fd4138c&displaylang=en) or later

* [Internet Explorer 5.01](https://www.microsoft.com/windows/downloads/ie/getitnow.mspx) or later

__Instructions__

1. Important: Make sure that your computer has the latest Windows service pack and critical updates. To find security updates, visit [Windows Update](https://www.windowsupdate.com/). If you are installing on XP 64 bit or Windows 2003 you might need to install the Windows Imaging Component. The Windows Imaging Component 32 bit can be found [here](https://www.microsoft.com/downloads/details.aspx?FamilyID=8E011506-6307-445B-B950-215DEF45DDD8). The Windows Imaging Component 64 bit can be found [here](https://www.microsoft.com/downloads/details.aspx?familyid=F64654AC-6E26-41D9-A90A-0E7783B864EE).

2. On this page, locate the Download button and then click it to start the download.

3. To start the installation immediately, click Run.

4. To save the download to your computer so that you can install it later, click Save.

5. To cancel the installation, click Cancel.

title description ms.date helpviewer_keywords ms.assetid

Install the .NET Framework developer pack or redistributable

Developers can download and install the .NET Framework developer pack and targeting pack. You can include the .NET Framework redistributable with your apps.

02/23/2022

.NET Framework redistributable package, downloading

.NET Framework, installing

installing .NET Framework

installation [.NET Framework]

daf9d9d5-84ac-4bd9-a864-27665ffd0f5c

Install .NET Framework for developers

.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.

[!INCLUDEnet_retirement]

[!INCLUDEnet-framework-4-versions]

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.

[!NOTE]
For information on .NET Framework 3.5, see Install the .NET Framework 3.5 on Windows 11, Windows 10, Windows 8.1, and Windows 8.

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:

Visual Studio 2022 (version 17.3)

You can install on:

Windows 11
Windows 10 version 21H2
Windows 10 version 21H1
Windows 10 version 20H2
Windows Server 2022

(for a full list, see system requirements)

4.8 .NET Framework 4.8 Included in:

Windows 11
Windows 10 May 2019 Update (and later versions)
Visual Studio 2019 (version 16.3)

You can install on:

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

(for a full list, see system requirements)

4.7.2 .NET Framework 4.7.2 Included in:

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

(for a full list, see system requirements)

4.7.1 .NET Framework 4.7.1 Included in:

Windows 10 Fall Creators Update
Windows Server, version 1709
Visual 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 Update
Visual 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 2

You 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)

[!INCLUDE net-framework-vs]

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:

  • Windows 8.1 and earlier

  • Windows Server 2012 R2 and earlier

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:

  • .NET Framework 4.8.1
  • .NET Framework 4.8
  • .NET Framework 4.7.2
  • .NET Framework 4.7.1
  • .NET Framework 4.7
  • .NET Framework 4.6.2
  • .NET Framework 4.6.1
  • .NET Framework 4.6
  • .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.

:::image type=»content» source=»media/guide-for-developers/visual-studio-framework.png» alt-text=»Visual Studio installer with .NET Framework options selected.» lightbox=»media/guide-for-developers/visual-studio-framework-large.png»:::

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.

  1. Open the download page for the .NET Framework version you want to install:

    • .NET Framework 4.8.1
    • .NET Framework 4.8
    • .NET Framework 4.7.2
    • .NET Framework 4.7.1
    • .NET Framework 4.7
    • .NET Framework 4.6.2
    • .NET Framework 4.6.1
    • .NET Framework 4.6
    • .NET Framework 4.5.2
    • .NET Framework 4.5.1
    • .NET Framework 4.5
  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:

  • .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.

  1. Open the language pack download page for the .NET Framework version you’ve installed:

    • .NET Framework 4.8.1
    • .NET Framework 4.8
    • .NET Framework 4.7.2
    • .NET Framework 4.7.1
    • .NET Framework 4.7
    • .NET Framework 4.6.2
    • .NET Framework 4.6.1
    • .NET Framework 4.6
    • .NET Framework 4.5.2
    • .NET Framework 4.5.1
    • .NET Framework 4.5
  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

  • If you’re new to .NET Framework, see the overview for an introduction to key concepts and components.

  • For new features and improvements in .NET Framework 4.5 and all later versions, see What’s New.

  • For detailed information about deploying .NET Framework with your app, see Deployment Guide for Developers.

  • For changes that affect the deployment of .NET Framework with your app, see Reducing System Restarts During .NET Framework 4.5 Installations.

  • For information about migrating your app from .NET Framework 4 to .NET Framework 4.5 or later versions, see the migration guide.

  • See .NET Framework Reference Source to browse through .NET Framework source code online. The reference source is also available on GitHub. You can download the reference source for offline viewing and step through the sources (including patches and updates) during debugging. For more information, see the blog entry A new look for .NET Reference Source.

See also

  • Deployment Guide for Developers
  • Deployment Guide for Administrators
  • Install the .NET Framework 3.5 on Windows 11, Windows 10, Windows 8.1, and Windows 8
  • Troubleshoot Blocked .NET Framework Installations and Uninstallations

Понравилась статья? Поделить с друзьями:
  • Net framework 4 для windows 7 не устанавливается что делать
  • Net framework 4 для windows 7 x64 скачать автономный установщик
  • Net framework 4 для windows 7 x64 полная версия
  • Net framework 4 для windows 7 professional
  • Net framework 4 для windows 10 x64 скачать offline installer