MonoGame .exe not running on other computers

Hi, I created a self-contained publish folder using dotnet publish -c Release -r win-x64 /p:PublishReadyToRun=false /p:TieredCompilation=false --self-contained and sent the .zip to test on another computer, however when running the .exe it said I still needed to download .NET Desktop Runtime, I thought that maybe I had done something wrong during the packaging and went to download it either way, but now when running the .exe the loading circle appears for a few seconds and just nothing happens. The .exe works completely fine on my computer. What could I be doing wrong? Thanks in advance.

Could be many things. In your csproj, set the output type to Exe:

<OutputType>Exe</OutputType>

That will give you a console window so you can see if there’s a crash. It could be from missing content for example.

1 Like

Thanks, I did that but it still just doesn’t open anything, not even the console window. What could I do now?