microsoft / GDK

Microsoft Public GDK
http://aka.ms/gamedevdocs
Other
1.48k stars 99 forks source link

[Developer Tools] .NET Core 2.1 updates delivered through Microsoft Update can block GDK installation #7

Open FLY1NGSQU1RR3L opened 2 years ago

FLY1NGSQU1RR3L commented 2 years ago

Known Issue (Workaround)

Tools | NET Core 2.1 updates delivered through Microsoft Update can block GDK installation

Found In: June 2021 GDK Update 1


To resolve this blocking issue in Visual Studio 2017 15.9.34 and LATER, use the following steps:

  1. Run Visual Studio Installer.
  2. Select Modify for Visual Studio 2017.
  3. In the Installation details tree view:
Condition Solution
If the Universal Windows Platform development workload is installed... Expand it and then clear the optional component named .NET Core 2.1 SDK.
If the Data storage and processing workload is installed... Expand it and then clear the optional component named .NET Core 2.1 SDK.
If the Office/SharePoint development workload is installed... Expand it and then clear the optional component named .NET Core 2.1 SDK.
If the Python development workload is installed... Expand it and then clear the optional component named .NET Core 2.1 SDK.
If the .NET desktop development workload is installed... Expand it and then clear the optional component named .NET Core 2.1 development tools.
If the ASP.NET and web development workload is installed... Expand it and then clear the optional component named .NET Core 2.1 development tools.
If the Azure development workload is installed... Expand it and then clear the optional component named .NET Core 2.1 development tools.
If the .NET Core cross-platform development workload is installed... Remove it.
  1. Complete the setup for Visual Studio.
  2. Retry (un)installing the GDK.

To resolve this blocking issue in Visual Studio 2017 15.9.33 and EARLIER, use the following steps:

  1. Run Visual Studio Installer.
  2. Select Modify for Visual Studio 2017.
  3. Remove the workloads that contain Microsoft.NET.Core.Component.SDK.2.1.
  4. Complete the setup for Visual Studio.
  5. Retry (un)installing the GDK.

For more information about this blocking issue, see the .NET Core 2.1 end of support notification.