-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Application crach on Windows 11 ARM #19783
Comments
Looks more like it's a .NET problem. Did the installation go allright? Maybe you could try to install .NET manually? |
No issues installing, and so far only program I have issues with |
BTW FancyZones still work (my main reason for installing PowerToys), I just can't change the settings |
@DBojsen - can you open up command prompt and run |
Of course - my output is:
|
@DBojsen - Thanks for this. I'm assuming you have Visual Studio 2022 17.2 installed? If so, it's possible that it installed the x64 version of .NET 6.0.7 instead of the arm64 version. The 0x800700C1 code is for "Not a valid Win32 application" and is only thrown when trying to load a dll from an incompatible architecture. |
@DBojsen if you do have Visual Studio installed, open `Developer Command Prompt for VS 2022" and run the following command:
This should return |
Thank you @snickler It didn't - returned |
@DBojsen Here's some guidance around the .NET SDKs and Arm64 dotnet/sdk#22380 I would recommend uninstalling the 6.0.7 runtime and installing the 6.0.7 Arm64 runtime for this specific case, but it might involve some extra SDK related reinstalling per the issue linked above. Once the proper arch for the runtime is installed, things should run properly. Let us know! :) |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment. |
Microsoft PowerToys version
0.61.1
Running as admin
Area(s) with issue?
General, Settings
Steps to reproduce
Start the application - Errors in eventlog:
Description: A .NET application failed.
Application: PowerToys.Awake.exe
Path: C:\Program Files\PowerToys\modules\Awake\PowerToys.Awake.exe
Message: Failed to load the dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.7\hostpolicy.dll], HRESULT: 0x800700C1
An error occurred while loading required library hostpolicy.dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.7]
Description: A .NET application failed.
Application: PowerToys.ColorPickerUI.exe
Path: C:\Program Files\PowerToys\modules\ColorPicker\PowerToys.ColorPickerUI.exe
Message: Failed to load the dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.7\hostpolicy.dll], HRESULT: 0x800700C1
An error occurred while loading required library hostpolicy.dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.7]
Description: A .NET application failed.
Application: PowerToys.PowerLauncher.exe
Path: C:\Program Files\PowerToys\modules\launcher\PowerToys.PowerLauncher.exe
Message: Failed to load the dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.7\hostpolicy.dll], HRESULT: 0x800700C1
An error occurred while loading required library hostpolicy.dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.7]
Attempt to open settings from systray icon:
Description: A .NET application failed.
Application: PowerToys.Settings.exe
Path: C:\Program Files\PowerToys\Settings\PowerToys.Settings.exe
Message: Failed to load the dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.7\hostpolicy.dll], HRESULT: 0x800700C1
An error occurred while loading required library hostpolicy.dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.7]
✔️ Expected Behavior
That the application runs as it used to
❌ Actual Behavior
No response
Other Software
No response
The text was updated successfully, but these errors were encountered: