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
{{ message }}
Repository navigation
[Misdetect of the version]: Microsoft.DotNet.DesktopRuntime.6 #3004
changed the title [-][MIsdetech of the version]: Microsoft.DotNet.DesktopRuntime.6[/-][+][Misdetech of the version]: Microsoft.DotNet.DesktopRuntime.6[/+]on Aug 1, 2022
I missed the "<" indicating "less than 6.0.5". We didn't have a manifest for the version installed on the system, so it was determined to be less than the earliest manifest. I'm not sure why 6.0.17 isn't showing up in list.
Be aware of the difference in major version here between what is installed and the upgrade version. It's showing 5.0.17 as installed and 6.0.7 as the upgrade version. Those are different major versions. It shouldn't attempt to recognize that as an upgrade because they have different package IDs: Microsoft.DotNet.DesktopRuntime.5 versus Microsoft.DotNet.DesktopRuntime.6.
It's likely that we don't have the manifests for the older versions with the "AppsAndFeatures" keys, so heuristics are trying to detect which package might match. JohnMcPMS can you confirm or deny?
I'm wondering if this is an artifact from before the packages were split out into the new identifiers. TheBossMagnus - Can you try manually uninstalling the desktop runtime 5, then re-installing it using winget install Microsoft.DotNet.DesktopRuntime.5
I'm wondering if this is an artifact from before the packages were split out into the new identifiers. TheBossMagnus - Can you try manually uninstalling the desktop runtime 5, then re-installing it using winget install Microsoft.DotNet.DesktopRuntime.5
I just had this weird behaviour, when trying to upgrade from 6.0.22 to 6.0.25.
winget upgrade
Name Id Version Available Source
-----------------------------------------------------------------------------------------------------------------------
Microsoft Windows Desktop Runtime - 6.0.22 (x64) Microsoft.DotNet.DesktopRuntime.6 6.0.22 6.0.25 winget
Windows PC Health Check Microsoft.WindowsPCHealthCheck 3.6.2204.08001 3.7.2204.15001 winget
Microsoft .NET Core Runtime - 2.1.11 (x64) Microsoft.DotNet.Runtime.3_1 < 3.1.25 3.1.32 winget
winget upgrade Microsoft.DotNet.DesktopRuntime.6
Found Microsoft .NET Windows Desktop Runtime 6.0 [Microsoft.DotNet.DesktopRuntime.6] Version 6.0.25
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dotnetcli.azureedge.net/dotnet/WindowsDesktop/6.0.25/windowsdesktop-runtime-6.0.25-win-x64.exe
██████████████████████████████ 54.7 MB / 54.7 MB
Successfully verified installer hash
Starting package install...
Successfully installed
winget upgrade
Name Id Version Available Source
-----------------------------------------------------------------------------------------------------------------------
Microsoft Windows Desktop Runtime - 5.0.17 (x64) Microsoft.DotNet.DesktopRuntime.6 < 6.0.5 6.0.25 winget
Windows PC Health Check Microsoft.WindowsPCHealthCheck 3.6.2204.08001 3.7.2204.15001 winget
Microsoft .NET Core Runtime - 2.1.11 (x64) Microsoft.DotNet.Runtime.3_1 < 3.1.25 3.1.32 winget
I seems to download the correct URL, at the Apps & features also shows the hopefully correct version for .NET Runtime: :
And for Desktop Runtime both the 5.0.17 and 6.0.25:
Not sure this fit here, if not please feel free to move this to a new issue if needed.
i have this and since this post got very long i would like to know the final solution.
alright the winget uninstall Microsoft.DotNet.DesktopRuntime.6 didn't work the first time so i closed cmd and started again, had to click again on some yes and it's gone now. i know what that means, but seriously, who still needs .NET desktop runtime anyway?
but seriously, who still needs .NET desktop runtime anyway?
this is required to run .net 6 WinForms/WPF apps. If you only run cli tools you can use the normal .net runtime Microsoft.DotNet.Runtime.6
i will wait until some program begs me to install Microsoft.DotNet.DesktopRuntime.6 . there is version 8 already just like java 22 so i don't give a damn about ms products. except handbrake
Running the following command, should solve the problem: winget install --moniker dotnet-desktop-6
The following command, should also work: winget install --id Microsoft.DotNet.DesktopRuntime.6
Hey there! Thanks for the heads up. If you're running into trouble with "Microsoft.DotNet.DesktopRuntime.X," here's a quick fix you might want to try. Just swap out 'X' with the version you're working with:
Or, you could go for: winget install --moniker dotnet-desktop-X
When I said these steps "should" work, I meant it's not a one-size-fits-all. There might be some exceptions due to different setups.
About the downvote, I get where you're coming from. Feedback is gold, especially if something didn't pan out as expected. If it's just the one person's experience, I'm keen to hear more, especially if anyone else tried and hit a snag. It helps everyone figure things out together.
If you gave it a shot and it's still a no-go, could you share what went wrong? More details could help us all get to the bottom of this faster.
Cheers for jumping in on this, and looking forward to hearing from you!
Well, apparently I had to uninstall first. And after reinstalling dotnet-desktop-6 it solved it for all other conflicts as well. At least for now. I don't trust it completely.
changed the title [-][Misdetech of the version]: Microsoft.DotNet.DesktopRuntime.6[/-][+][Misdetect of the version]: Microsoft.DotNet.DesktopRuntime.6[/+]on Sep 23, 2026
Activity
[-][MIsdetech of the version]: Microsoft.DotNet.DesktopRuntime.6[/-][+][Misdetech of the version]: Microsoft.DotNet.DesktopRuntime.6[/+]denelon commentedon Aug 1, 2022
if you
winget list .NETare both versions present?TheBossMagnus commentedon Aug 1, 2022
no one is listed

denelon commentedon Aug 1, 2022
I missed the "<" indicating "less than 6.0.5". We didn't have a manifest for the version installed on the system, so it was determined to be less than the earliest manifest. I'm not sure why 6.0.17 isn't showing up in list.
denelon commentedon Aug 1, 2022
Matt Thalman (@mthalman) do you have any ideas on this one?
mthalman commentedon Aug 1, 2022
Be aware of the difference in major version here between what is installed and the upgrade version. It's showing 5.0.17 as installed and 6.0.7 as the upgrade version. Those are different major versions. It shouldn't attempt to recognize that as an upgrade because they have different package IDs: Microsoft.DotNet.DesktopRuntime.5 versus Microsoft.DotNet.DesktopRuntime.6.
Demitrius Nelon (@denelon) - Why would it be crossing package IDs like this?
denelon commentedon Aug 1, 2022
It's likely that we don't have the manifests for the older versions with the "AppsAndFeatures" keys, so heuristics are trying to detect which package might match. JohnMcPMS can you confirm or deny?
mthalman commentedon Aug 1, 2022
There is a manifest for the 5.0.17 version: https://github.com/microsoft/winget-pkgs/blob/master/manifests/m/Microsoft/DotNet/DesktopRuntime/5/5.0.17/Microsoft.DotNet.DesktopRuntime.5.installer.yaml. It was the one and only version of it that was published before becoming EOL.
Trenly commentedon Aug 1, 2022
What about under
winget list "Desktop Runtime"?TheBossMagnus commentedon Aug 2, 2022
Trenly commentedon Aug 2, 2022
I'm wondering if this is an artifact from before the packages were split out into the new identifiers.
TheBossMagnus - Can you try manually uninstalling the desktop runtime 5, then re-installing it using
winget install Microsoft.DotNet.DesktopRuntime.5TheBossMagnus commentedon Aug 2, 2022
fixed

37 remaining items
mziehm commentedon Dec 11, 2023
I just had this weird behaviour, when trying to upgrade from 6.0.22 to 6.0.25.
winget upgrade
winget upgrade Microsoft.DotNet.DesktopRuntime.6
winget upgrade
I seems to download the correct URL, at the Apps & features also shows the hopefully correct version for .NET Runtime:
:

And for Desktop Runtime both the 5.0.17 and 6.0.25:
Not sure this fit here, if not please feel free to move this to a new issue if needed.
hueldoeu commentedon Jan 28, 2024
i have this

and since this post got very long i would like to know the final solution.
hueldoeu commentedon Jan 28, 2024
alright the winget uninstall Microsoft.DotNet.DesktopRuntime.6 didn't work the first time so i closed cmd and started again, had to click again on some yes and it's gone now. i know what that means, but seriously, who still needs .NET desktop runtime anyway?
MagicAndre1981 commentedon Jan 28, 2024
this is required to run .net 6 WinForms/WPF apps. If you only run cli tools you can use the normal .net runtime
Microsoft.DotNet.Runtime.6hueldoeu commentedon Jan 28, 2024
i will wait until some program begs me to install Microsoft.DotNet.DesktopRuntime.6 . there is version 8 already just like java 22 so i don't give a damn about ms products. except handbrake
PsyEng commentedon Feb 27, 2024
Running the following command, should solve the problem:
winget install --moniker dotnet-desktop-6The following command, should also work:
winget install --id Microsoft.DotNet.DesktopRuntime.6treysis commentedon Feb 27, 2024
Nope. Unfortunately not.
PsyEng commentedon Feb 27, 2024
Hey there! Thanks for the heads up. If you're running into trouble with "Microsoft.DotNet.DesktopRuntime.X," here's a quick fix you might want to try. Just swap out 'X' with the version you're working with:
winget install --id Microsoft.DotNet.DesktopRuntime.Xwinget install --moniker dotnet-desktop-XWhen I said these steps "should" work, I meant it's not a one-size-fits-all. There might be some exceptions due to different setups.
About the downvote, I get where you're coming from. Feedback is gold, especially if something didn't pan out as expected. If it's just the one person's experience, I'm keen to hear more, especially if anyone else tried and hit a snag. It helps everyone figure things out together.
If you gave it a shot and it's still a no-go, could you share what went wrong? More details could help us all get to the bottom of this faster.
Cheers for jumping in on this, and looking forward to hearing from you!
treysis commentedon Feb 28, 2024
Well, apparently I had to uninstall first. And after reinstalling
dotnet-desktop-6it solved it for all other conflicts as well. At least for now. I don't trust it completely.hueldoeu commentedon Feb 28, 2024
can someone paste the solution again plz?
treysis commentedon Feb 28, 2024
Uninstall dotnet-desktop-6, reinstall dotnet-desktop-6.
eabase commentedon Apr 29, 2024
Still the same problem.
I wonder if it is related to: #4415 ?
hueldoeu commentedon Apr 29, 2024
i'll skip it on unigetUI
[-][Misdetech of the version]: Microsoft.DotNet.DesktopRuntime.6[/-][+][Misdetect of the version]: Microsoft.DotNet.DesktopRuntime.6[/+]