You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the scenario and benefits that the feature supports.
The current detect condition only can tell if the target version of the .NET Core package is installed. It needs to skip installing the package if a newer patch release is installed.
Describe how you're accomplishing the feature today (if possible).
Not possible without privately implementing this feature request.
Describe what you'd like the new feature to do.
Create a Bundle extension that runs code to detect .NET Core versions. This was close but it would actually load part of the runtime.
Really wish they'd used WixStandardBootstrapperApplication/@SuppressDowngradeFailure, something I added to avoid this kind of user hostility. Probably not something they'd consider for v3 servicing.
With the current behavior, we should consider dropping .NET (non-Framework) redist package groups and just documenting what's needed and what's problematic.
Problem with bundling redist packages is likely they will be out of date already vs the latest .NET patch.
I've raised this with dotnet project before that there's no direct link to the latest patch version to download and install. There are fixed links with long IDs to specific versions, and a link to the download page to let the user decide. Problem is there are a lot of options for the user to choose from and from experience already users do not read the instructions given, even in big bold letters and a picture with an arrow of what they need to click on. They immediately go and install what they think they need, so will end up installing the SDK (okay can get away with that) or the Desktop runtime instead of ASP.NET runtime, or specifically advise the Hosting Bundle for IIS support, and easy to miss.
One thing that did come from discussions was updating .NET Core, and there was a decision finally to add .NET 5 & 6 into Windows Update, but I'm not sure that's occurred yet. I don't see updates there but then I've got SDKs installed.
Problem also with .NET Core is it can be installed in many ways. It could even be without the installer but placed on the path, so no registry entry.
Thanks. I was completely unaware of this. I'm not sure if there's a link to the ASP.NET Runtime Hosting Bundle. There's no documentation on this it seems?
Activity
rseanhall commentedon Dec 14, 2020
Both 3.1.x and 5.0.x fail when trying to install older version.
The SDK bundle installs a version of the runtime without installing the runtime bundle, so bundle checks won't work.
burn log
barnson commentedon Dec 14, 2020
Really wish they'd used
WixStandardBootstrapperApplication/@SuppressDowngradeFailure, something I added to avoid this kind of user hostility. Probably not something they'd consider for v3 servicing.rseanhall commentedon Dec 16, 2020
dotnet/runtime#46128
rseanhall commentedon May 3, 2021
x64 emulation on Windows Arm64 is adding another layer of complexity to this: dotnet/sdk#16896 and dotnet/designs#214.
barnson commentedon Feb 27, 2022
With the current behavior, we should consider dropping .NET (non-Framework) redist package groups and just documenting what's needed and what's problematic.
tjmoore commentedon Jul 7, 2022
Problem with bundling redist packages is likely they will be out of date already vs the latest .NET patch.
I've raised this with dotnet project before that there's no direct link to the latest patch version to download and install. There are fixed links with long IDs to specific versions, and a link to the download page to let the user decide. Problem is there are a lot of options for the user to choose from and from experience already users do not read the instructions given, even in big bold letters and a picture with an arrow of what they need to click on. They immediately go and install what they think they need, so will end up installing the SDK (okay can get away with that) or the Desktop runtime instead of ASP.NET runtime, or specifically advise the Hosting Bundle for IIS support, and easy to miss.
One thing that did come from discussions was updating .NET Core, and there was a decision finally to add .NET 5 & 6 into Windows Update, but I'm not sure that's occurred yet. I don't see updates there but then I've got SDKs installed.
Problem also with .NET Core is it can be installed in many ways. It could even be without the installer but placed on the path, so no registry entry.
jnm2 commentedon Jul 7, 2022
There are; URLs exist such as https://aka.ms/dotnet/6.0/windowsdesktop-runtime-win-x64.exe. See dotnet/installer#11040.
tjmoore commentedon Jul 8, 2022
Thanks. I was completely unaware of this. I'm not sure if there's a link to the ASP.NET Runtime Hosting Bundle. There's no documentation on this it seems?
jnm2 commentedon Jul 8, 2022
@tjmoore My first guess worked: https://aka.ms/dotnet/6.0/aspnetcore-runtime-win-x64.exe
Based on diffing the final URLs for the desktop runtime download and the ASP.NET Core runtime download.