Game doesn't publish properly for some reason

We used MonoGame to code our final projects in Computer Science class, and I want to send my game to a friend who doesn’t have the C# essentials downloaded. I tried running it with “dotnet publish -c Release -r win-x64 -p:PublishReadyToRun=false -p:TieredCompilation=false --self-contained”, and it made the publish folder and everything but when you try to open the exe nothing happens. Anyone know why this is happening? My MonoGame version (or at least the mgcb-editor) is 3.8.4.1

Run a release build from Visual Studio and it’ll show you why it’s crashing.

I figured it out. I was missing some files in my Content folder that didn’t save over when I published the game. Thank you for the help though