-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'You must install .NET Desktop Runtime to run this application', but installed. #20266
Comments
The difference is between |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
@Jay-o-Way I don't think this error is not same error of #20236, because my computer has connected to the internet. thank you. Error Dialogdotnet info |
Try installing it manually. https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.8-windows-x64-installer |
I still can't run correctly with version 0.62, and I downloaded and installed it manually Net runtime. The bug report function of the software can not generate a bug file. |
tag @jaimecbernardo |
This is pretty weird. How are the contents of "C:\Program Files\dotnet\shared\Microsoft.Windows.Desktop.App/6.0.8" ? Can you please send a screenshot? |
Yes, I installed ".NET Desktop Runtime". Thank you for your reopen issue and added Servety-Crash tag. |
PS C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\6.0.8> dir
Mode LastWriteTime Length Name d----- 2022/9/6 5:05 cs PS C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\6.0.8> |
PowerToysReport_2022-09-08-01-47-37.zip |
@jaimecbernardo |
Can you plase check the following registry keys to check if they have 6.0.8 registered? |
@jaimecbernardo |
@jaimecbernardo App ListRegistryMicrosoft.WindowsDesktop.RuntimeMicrosoft.NETCore.App |
Everything seems to be in place 🤷 |
@jaimecbernardo |
@jaimecbernardo |
I reinstall dotnet desktop runtime 6.0.8 and powertoys, but the problem is not resolved... |
Not sure what might be going on here. Tried checking the logs sent by @yanhuan521 for 0.61.1, but for that version it looks like PowerToys Run was starting well. Can you also try running PowerToys without admin privileges? At this point I wonder if it's something related to PowerToys user not being the same as the one that's used to start PowerToys at startup and having some access issues to the .net runtimes, although this would not make much sense in my opinion. But the .net being there and not be recognize at runtime makes little sense as it is 😅 |
According to the method you provided, the file was created successfully. |
I tried that workaround, and I can get logs. PowerToysReport_2022-09-14-18-18-50.zip I can not open PowerToys Settings, so I don't know how run PowerToys without administrator under the "Always Running Administrator" option is on. |
Does installing .net 6.0.9 solve this? |
@jaimecbernardo Can you do any research from this report file? |
dotnet-installation-info.txt inside the Bug Report makes it look like everything it's fine. It's not clear why it's not being detected by the apps:
Other users seem to be having the same error from doing a different installation method for .net. I don't think this seems to be your case, though: #411 (comment) |
There's reference here to some environment variables that might be changing .net resolution: #411 (comment) |
It's great. |
This settings?👇
I check my settings using pwsh, and I confirmed it. Thanks. |
@neko3cs , so this means that these settings are likely messing with the .net lookup from PowerToys. Can you please remove DOTNET_ROOT and DOTNET_MULTILEVEL_LOOKUP from your environment variables and see if that fixes the issue? |
@jaimecbernardo Sorry, I didn't explained enoughly. I think this problem cause is I'm grateful for your help. |
Microsoft PowerToys version
"0.61.1"
Running as admin
Area(s) with issue?
General
Steps to reproduce
✔️ Expected Behavior
Launch PowerToys Correctly.
❌ Actual Behavior
Error occured and can not launch PowerToys.
Other Software
dotnet info
The text was updated successfully, but these errors were encountered: