From 3adc2162a05ebb527c5393762b893c65a7bd0b65 Mon Sep 17 00:00:00 2001 From: "Andy De George (adegeo)" Date: Thu, 7 Jan 2021 15:49:33 -0800 Subject: [PATCH 1/3] Update win7/8/vista prereqs --- docs/core/install/windows.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/core/install/windows.md b/docs/core/install/windows.md index d7d3f7eb4b435..ef91f72a093cc 100644 --- a/docs/core/install/windows.md +++ b/docs/core/install/windows.md @@ -175,7 +175,7 @@ For more information about .NET Core 2.1 supported operating systems, distributi ### Windows 7 / Vista / 8.1 / Server 2008 R2 / Server 2012 R2 -Additional dependencies are required if you're installing the .NET SDK or runtime on the following Windows versions: +More dependencies are required if you're installing the .NET SDK or runtime on the following Windows versions: - Windows 7 SP1 [ESU][esu] - Windows Vista SP 2 @@ -183,10 +183,10 @@ Additional dependencies are required if you're installing the .NET SDK or runtim - Windows Server 2008 R2 - Windows Server 2012 R2 -Install the following: +Install the following prerequisites: -- [Microsoft Visual C++ 2015 Redistributable Update 3](https://www.microsoft.com/download/details.aspx?id=52685). -- [KB2533623](https://support.microsoft.com/help/2533623/microsoft-security-advisory-insecure-library-loading-could-allow-remot) +- Microsoft Visual C++ 2015-2019 Redistributable [64-bit](https://aka.ms/vs/16/release/vc_redist.x64.exe) / [32-bit](https://aka.ms/vs/16/release/vc_redist.x86.exe) +- KB3063858 [64-bit](https://www.microsoft.com/en-us/download/details.aspx?id=47442) / [32-bit](https://www.microsoft.com/en-us/download/details.aspx?id=47409) The previous requirements are also required if you come across one of the following errors: @@ -200,6 +200,12 @@ The previous requirements are also required if you come across one of the follow > > The library *hostfxr.dll* was found, but loading it from *C:\\\\\hostfxr.dll* failed. +You may encounter an error related to an invalid signature while installing .NET Core 2.1. To fix this error, do the following steps: + +01. Uninstall .NET Core 2.1. +01. Import the [MicrosoftRootCertificateAuthority2011.cer](http://go.microsoft.com/fwlink/?linkid=747875&clcid=0x409) certificate. +01. Reinstall .NET Core 2.1. + ## Install with PowerShell automation The [dotnet-install scripts](../tools/dotnet-install-script.md) are used for CI automation and non-admin installs of the runtime. You can download the script from the [dotnet-install script reference page](../tools/dotnet-install-script.md). From 8347827a129dfeb3709ce6062821326dd2d15b4d Mon Sep 17 00:00:00 2001 From: "Andy De George (adegeo)" Date: Thu, 7 Jan 2021 22:35:36 -0800 Subject: [PATCH 2/3] clarify reqs --- docs/core/install/windows.md | 41 +++++++++++++----------------------- 1 file changed, 15 insertions(+), 26 deletions(-) diff --git a/docs/core/install/windows.md b/docs/core/install/windows.md index ef91f72a093cc..e9e592235fa4a 100644 --- a/docs/core/install/windows.md +++ b/docs/core/install/windows.md @@ -177,34 +177,19 @@ For more information about .NET Core 2.1 supported operating systems, distributi More dependencies are required if you're installing the .NET SDK or runtime on the following Windows versions: -- Windows 7 SP1 [ESU][esu] -- Windows Vista SP 2 -- Windows 8.1 -- Windows Server 2008 R2 -- Windows Server 2012 R2 +| Operating System | Prerequisites | +|--------------------------|----------------------------------------------------------------------------------| +| Windows 7 SP1 [ESU][esu] | - Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32]
- KB3063858 [64-bit][kb64] / [32-bit][kb32]
- [MicrosoftRootCertificateAuthority2011.cer](http://go.microsoft.com/fwlink/?linkid=747875&clcid=0x409) (.NET Core 2.1 only) | +| Windows Vista SP 2 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] | +| Windows 8.1 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] | +| Windows Server 2008 R2 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] | +| Windows Server 2012 R2 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] | -Install the following prerequisites: +The previous requirements are also required if you receive an error related to either of the following dlls: -- Microsoft Visual C++ 2015-2019 Redistributable [64-bit](https://aka.ms/vs/16/release/vc_redist.x64.exe) / [32-bit](https://aka.ms/vs/16/release/vc_redist.x86.exe) -- KB3063858 [64-bit](https://www.microsoft.com/en-us/download/details.aspx?id=47442) / [32-bit](https://www.microsoft.com/en-us/download/details.aspx?id=47409) - -The previous requirements are also required if you come across one of the following errors: - -> The program can't start because *api-ms-win-crt-runtime-l1-1-0.dll* is missing from your computer. Try reinstalling the program to fix this problem. -> -> \- or - -> -> The program can't start because *api-ms-win-cor-timezone-l1-1-0.dll* is missing from your computer. Try reinstalling the program to fix this problem. -> -> \- or - -> -> The library *hostfxr.dll* was found, but loading it from *C:\\\\\hostfxr.dll* failed. - -You may encounter an error related to an invalid signature while installing .NET Core 2.1. To fix this error, do the following steps: - -01. Uninstall .NET Core 2.1. -01. Import the [MicrosoftRootCertificateAuthority2011.cer](http://go.microsoft.com/fwlink/?linkid=747875&clcid=0x409) certificate. -01. Reinstall .NET Core 2.1. +- *api-ms-win-crt-runtime-l1-1-0.dll* +- *api-ms-win-cor-timezone-l1-1-0.dll* +- *hostfxr.dll* ## Install with PowerShell automation @@ -319,3 +304,7 @@ For more information about using .NET in a Docker container, see [Introduction t - [Tutorial: Containerize a .NET Core app](../docker/build-container.md). [esu]: /troubleshoot/windows-client/windows-7-eos-faq/windows-7-extended-security-updates-faq +[vcc64]: https://aka.ms/vs/16/release/vc_redist.x64.exe +[vcc32]: https://aka.ms/vs/16/release/vc_redist.x86.exe +[kb64]: https://www.microsoft.com/en-us/download/details.aspx?id=47442 +[kb32]: https://www.microsoft.com/en-us/download/details.aspx?id=47409 From 95da45d042827a9112f8df8d8150c41a4f5ffdb8 Mon Sep 17 00:00:00 2001 From: "Andy De George (adegeo)" Date: Thu, 7 Jan 2021 22:40:09 -0800 Subject: [PATCH 3/3] https fix --- docs/core/install/windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/install/windows.md b/docs/core/install/windows.md index e9e592235fa4a..35ece4bf7e154 100644 --- a/docs/core/install/windows.md +++ b/docs/core/install/windows.md @@ -179,7 +179,7 @@ More dependencies are required if you're installing the .NET SDK or runtime on t | Operating System | Prerequisites | |--------------------------|----------------------------------------------------------------------------------| -| Windows 7 SP1 [ESU][esu] | - Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32]
- KB3063858 [64-bit][kb64] / [32-bit][kb32]
- [MicrosoftRootCertificateAuthority2011.cer](http://go.microsoft.com/fwlink/?linkid=747875&clcid=0x409) (.NET Core 2.1 only) | +| Windows 7 SP1 [ESU][esu] | - Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32]
- KB3063858 [64-bit][kb64] / [32-bit][kb32]
- [MicrosoftRootCertificateAuthority2011.cer](https://go.microsoft.com/fwlink/?linkid=747875&clcid=0x409) (.NET Core 2.1 only) | | Windows Vista SP 2 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] | | Windows 8.1 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] | | Windows Server 2008 R2 | Microsoft Visual C++ 2015-2019 Redistributable [64-bit][vcc64] / [32-bit][vcc32] |