-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Summary
When installing the Windows Desktop runtime via dotnetup runtime install windowsdesktop@<version>, the core .NET runtime should also be automatically installed, since the Windows Desktop runtime archive does not include it.
Background
From PR #52649 discussion: #52649 (comment)
The Windows Desktop runtime zip does not include the core runtime within it, unlike the ASP.NET Core runtime zip which bundles the core runtime. This means that applications using the Windows Desktop runtime will fail to run if only the Windows Desktop runtime is installed without the core runtime.
Testing confirmed that a Windows Desktop app does not work without the core runtime installed.
Proposed Solution
When dotnetup runtime install windowsdesktop@<version> is executed, dotnetup should:
- Install the Windows Desktop runtime
- Automatically install the matching core .NET runtime (if not already present)
Additional Investigation
While the ASP.NET Core zip currently bundles the core runtime, it's worth verifying whether older versions of the ASP.NET Core zip also include the core runtime. If there are any ASP.NET Core versions where the core runtime is not bundled, we may need to handle those cases as well.
Related
- PR Install
runtime(s) withdotnetup#52649 - Install runtime(s) with dotnetup - Relates to validation in
ArchiveInstallationValidator.cs