What's the best way of publishing a game on Windows?

Hi there, I’m new to MonoGame and am just learning the basics. One big thing for me is making sure release builds don’t expose too much information (assets, source code, etc.) and I was wondering what the best way of publishing a game made in MonoGame is. I know that using VS’s default “Publish” feature isn’t a very good way to go, as it’s a tad hard to get going.

So far, I’ve figured out that I can remove a few of the things from the release folder to get it looking like this (Image Link), and I don’t think people can get anything out of this. But I made this topic for a reason, and that reason is that I’m not sure if this is the absolute best way to distribute a MonoGame game. So my question is: Is it?

You mean structure wise what is the best way of deploying?

The best way of deploying, as structure isn’t a huge issue to me.
(Assuming by structure you mean what the file folder looks like)

Sorry misread it a bit.

I guess you could just wrap all your files you have there in an installer?

At its very basic a self-extracting zip

That’d probably work best, thanks for the help :+1: