Issue loading "hostpolicy.dll" in version 5.2.0
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 38
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I've been having trouble trying to get the latest version to run, and I'm not sure where else to ask for help. When I run it in the command prompt, I get this error:
Failed to load the dll from [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\5.0.17\hostpolicy.dll], HRESULT: 0x800700C1
An error occurred while loading required library hostpolicy.dll from [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App\5.0.17]
From a little bit of research, it appears that 0x800700C1 means ERROR_BAD_EXE_FORMAT, which usually gets thrown when an x86 program tries to run x64 or vice versa. I've tried reinstalling .NET Core multiple times, but I'm still getting the same issue. Any help would be appreciated!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file, test, or entry point is named. Start by reproducing the command-prompt failure with the reported .NET Core 5.0.17 hostpolicy.dll path and checking the application's and runtime's x86/x64 architecture; done means identifying a reproducible cause and documenting or implementing a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100