Sample Header Ad - 728x90

How to make Wine look for DLL in Program Files instead of /usr/share?

0 votes
2 answers
4256 views
I'm trying to run a game called [Beneath the Nexus](https://playbtn.com/) through Wine. The game said I needed .NET Desktop Runtime 5, so I downloaded the [Windows installer](https://dotnet.microsoft.com/download/dotnet/5.0) and installed it. However when running the actual game, I get the following error message: > Message: A fatal error occurred, the required library hostfxr.dll could not be found in [Z:\\usr\\share\\dotnet\\host\\fxr\\5.0.7] when I run find . | grep hostfxr in my .wine prefix, it finds the right DLL in a few places: ./drive_c/Program Files/dotnet/host/fxr/5.0.7/hostfxr.dll ./drive_c/Program Files (x86)/dotnet/host/fxr/5.0.7/hostfxr.dll How can I make the game find these DLLs instead of looking in my /usr/share?
Asked by Dr-Bracket (437 rep)
Jun 19, 2021, 06:22 PM
Last activity: Jan 28, 2023, 06:05 AM