Skip to content

Hosting bundle do not uninstall old dotnet version #59202

@Launster

Description

@Launster

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I got a windows server 2022 with dotnet 8.0.7 (intalled via the hosting bundle), when I upgrade to the last dotnet version (8.0.11) by using the Hosting bundle setup, the old version of dotnet is still here.

Image
Image

Expected Behavior

old runtime version should be uninstalled

Steps To Reproduce

Get a windows server 2022, install dotnet hosting bundle 8.0.7 then install dotnet hosting bundle 8.0.11 and check for dotnet runtime 8.0.7

Exceptions (if any)

No response

.NET Version

8.0.11

Anything else?

I saw this issue (#55950) which look like my problem.
I think my issue should have been fixed by this PR (#56459)

But it seems to not be the case.

dotnet --info output :

Host:
Version: 8.0.11
Architecture: x64
Commit: 9cb3b725e3
RID: win-x64

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.Status: No Recent Activityarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions