Awarets

Results 9 comments of Awarets

I was using the NuGet package, but I just tried both the fat and thin prereleases and got the same result for both (same harmony debug log and exception stacktrace)

I just attempted all 4 configurations. I was unable to pack ReleaseFat due to the following error: ``` C:\Harmony-master\ILRepack.targets(7,3): error : Failed to resolve System.Reflection.BindingFlags ``` DebugFat, DebugThin, and ReleaseThin...

Yeah IDK, just running the latest version of Visual Studio 2022 on Windows 10. I keep getting that error every time I try to build ReleaseFat. Here's the build output...

Here's as much more information as I can give: Using Harmony 32e3f7b66d20adc9c5b3ea6607ddc110e721598d With the following dlls, as included within the /ReleaseFat/net6.0/ folder 0Harmony.dll Mono.Cecil.dll (0.11.5) Mono.Cecil.Mdb.dll (0.11.5) Mono.Cecil.Pdb.dll (0.11.5) Mono.Cecil.Rocks.dll...

Turns out that while the exported godot buld uses .Net 6.0.27, the editor itself uses .Net 8.0.2! Thanks for helping to identify that. So I guess one of the dependencies...

I did some more tests: test.sh Results ``` Test run for C:\Harmony-master\HarmonyTests\bin\Debug\net35\HarmonyTests.dll (.NETFramework,Version=v3.5) Starting test execution, please wait... Framework35 is not supported. For projects targeting .Net Framework 3.5, test will...

I tested with a .Net 6.0 console app and it worked with no issues. I'll close the issue seeing as the problem does not appear to be on Harmony's end....

This appears to be a known issue with Godot and external .dll files. https://github.com/godotengine/godot/issues/75160 It's possible to work around this by using reflection as described in this answer: https://github.com/godotengine/godot/issues/75160#issuecomment-2071203840 public...