https://bugs.winehq.org/show_bug.cgi?id=55086
--- Comment #8 from Robert Baker reiichi001@gmail.com --- One additional note I can think of at this time is that we are running using dotnet 7.0.0's release, as we self-contain the runtimes we need. (Only runtime and windows.desktop, as modding project does not use asp.net)
If you want to assemble the same runtime, you can grab the component from here and merge them into a single folder: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.0/dotnet-runtime-7.0.0-wi... https://dotnetcli.azureedge.net/dotnet/WindowsDesktop/7.0.0/windowsdesktop-r...
This can be used if running the installer is causing issues. From there, you can call dotnet.exe to run the sample code.
Internally, the program is run somewhat like this: "$WINE_BIN/wine64" "$DOTNET_EXE" "$ADDON_PROGRAM"
It should be noted that replacing the runtime with version 7.0.7's components exhibits the same behavior. - Windows 11 will run the code fine - Ubuntu 22.04 using its dotnet7 package will run the code fine - Wine 8.10 calling dotnet 7.0.0 fails - Wine 8.10 calling dotnet 7.0.7 fails