#Running Exported GD4 Project for Windows results in hostfxr related error

3 messages · Page 1 of 1 (latest)

dire zinc
#

Platform is Windows 10
.NET installed in default locations. PATH is set correctly.
Am able to locate hostfxr.dll in the following directories:
C:\Program Files\dotnet\host\fxr
C:\Program Files\dotnet\sdk\7.0.203\host\fxr (Placed in here manually in attempt to solve problem)

> dotnet --list-sdks
3.1.426 [C:\Program Files\dotnet\sdk]
5.0.102 [C:\Program Files\dotnet\sdk]
6.0.408 [C:\Program Files\dotnet\sdk]
7.0.203 [C:\Program Files\dotnet\sdk]

Project runs with no errors from Editor
Exported Project fails to run citing

ERROR: .NET: Failed to load hostfxr
   at: (modules/mono/mono_gd/gd_mono.cpp:399)

Project implemented using GDScript, if that is relevant
Tried to run with console and turned --verbose on; no errors until the output referenced above

#

I see that this person may have observed the same issue as me
#csharp message

Did not see a solution or issue in github reported

dire zinc
#

I downloaded GODOT 4 (not C#) instead and now I don't get that error

Would still like a solution, but...whatever. I have been at this for hours.