Comments (8)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- [Misdetech of the version]: Microsoft.DotNet.DesktopRuntime.6 (#3004), similarity score: 0.82
winget list
reports incorrectId
forMicrosoft Windows Desktop Runtime - 7.0.0 (x64)
(#3565), similarity score: 0.81- winget tries to upgrade .NET 5 Runtime over and over (#2345), similarity score: 0.78
- Incorrect Microsoft .NET SDK version (#3014), similarity score: 0.76
Closed similar issues:
- Microsoft .NET SDK 6.0.412 (x64) is detected as Microsoft.DotNet.SDK.7 < 7.0.100 (#3480), similarity score: 0.77
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from winget-cli.
I only have one version of desktop runtime installed.
from winget-cli.
I think the version is being misdetected. It's finding Microsoft.DotNet.DesktopRuntime.6
, but I think the package you have installed might have the slightly different PackageIdentifier
of Microsoft.DotNet.DesktopRuntime.8
(last digit changes).
This is based on the version you have installed showing 8.0.4
, which matches the .8
package:
PS C:\ManVal> Find-WinGetPackage Microsoft.DotNet.DesktopRuntime
Name Id Version Source
---- -- ------- ------
Microsoft .NET Windows Desktop Runtime 9.0 Preview Microsoft.DotNet.DesktopRuntime.Preview 9.0.0-preview.3.24175.3 winget
Microsoft .NET Windows Desktop Runtime 8.0 Microsoft.DotNet.DesktopRuntime.8 8.0.4 winget
Microsoft .NET Windows Desktop Runtime 7.0 Microsoft.DotNet.DesktopRuntime.7 7.0.18 winget
Microsoft .NET Windows Desktop Runtime 6.0 Microsoft.DotNet.DesktopRuntime.6 6.0.29 winget
Microsoft .NET Windows Desktop Runtime 5.0 Microsoft.DotNet.DesktopRuntime.5 5.0.17 winget
Microsoft .NET Windows Desktop Runtime 3.1 Microsoft.DotNet.DesktopRuntime.3_1 3.1.32 winget
PS C:\ManVal>
When your system shows > 6.0.29
, it means that 6.0.29
is the highest version of Microsoft.DotNet.DesktopRuntime.6
in the repo, but somehow the computer's Registry shows a higher version installed. It's showing this because it's mis-matching with the .6
version when it should be matching to the .8
version.
Why is it mis-matching? It matches Registry data against repo data. Sometimes, this is from a previous install that didn't get completely uninstalled, and still has a few lines in the Registry. Could that have happened here?
from winget-cli.
Well, I cannot figure out where the previous install is. And I've tried installing desktop runtime 6 and then uninstall it, but it is still mis-matching. (btw sry for the late response)
from winget-cli.
So there's two entries of desktop runtime in the registry. And it seems like only {f1bec...} is recognized by the system (appwiz.cpl) and winget.
After I deleted the {f1bec...} entry in the registry, the system and winget is reading the {CE4D...} entry, which isn't matched to any package id by winget at all.
from winget-cli.
Here's what's happening as of 6.0.31 being installed (automatically by windows update).
winget update --all
Name Id Version Available Source
-----------------------------------------------------------------------------------------------------------------
Microsoft Windows Desktop Runtime - 6.0.31 (x64) Microsoft.DotNet.DesktopRuntime.7 < 7.0.0 7.0.20 winget
from winget-cli.
After updating to 8.0.6, the issue still isn't solved.
from winget-cli.
So for reference, it's common to need more than one version installed due to some apps not being updated to accept later versions as compatible (and thus force installing the older version).
Right now the currently valid versions of .Net are:
.Net 9 as the current preview version
.Net 8 as the latest stable and LTS
.Net 6 as the previous but still maintained LTS.
winget forcibly upgrading .Net 6 to .Net 7 is not ok as it's not maintained anymore.
===
Just noticed in another issue the experimental "sidebySide" feature. That seems to have fixed the behavior for me.
from winget-cli.
Related Issues (20)
- PortableUninstall uninstaller failed: 2316632067 HOT 5
- Incorrect Versioning of Multiple Packages - Upgrade Or Manual Install Has No Effect - .NET, CUDA, Others HOT 6
- `winget export` failing with `Element not found` error HOT 4
- Add option to stop updating windows inbox apps / store apps HOT 2
- Github Desktopclear HOT 1
- Brand new Windows 11 machine has winget installed but all commands don't return anything HOT 3
- The update process fails although the package was successfully updated. HOT 4
- 0x8a15000f : Data required by the source is missing HOT 7
- winget does not recognice the installed version correct if run without administrator rights HOT 2
- winget import says json file is not valid. HOT 5
- Update Pipelines to use BinSkim v4
- `Get-WinGetPackage`'s `-Exact` option doesn't function HOT 4
- Cannot remove winget source without admin rights HOT 9
- Support more than 10 packages in winget install bulk mode with a single command HOT 3
- Neovim is installed twice instead upgraded HOT 7
- when using winget list --id "7zip.7zip" not found but shows when using winget list HOT 3
- Unable to upgrade k6 HOT 3
- Access denied (0xc0000005) when running under Windows 10 version 17763 HOT 2
- Winget not update obs-ptz HOT 1
- Interacting at all with the `winget` source hangs HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winget-cli.