I’m new to Monogame and XNA, so I created a little test project as practice. The project works fine when I run it in Visual Studio, but I’m not sure how to publish the game so it can be run on other machines. For now, I’m just trying to run it on Windows.
A simple step-by-step guide to push me in the right direction would be fantastic, but I haven’t found anything like that online.
When I go to Build->Publish, it creates an installer and executable, but when I try to run either, it crashes. When I debug it using Visual Studio, it indicates that it’s unable to load the content files. I don’t think the content is being distributed with the rest of the project - how can I fix this?
EDIT: Here is the output: https://www.dropbox.com/s/umqv8f7qqtnyky5/monogame_test.zip?dl=0
When that didn’t work, I tried copying and running the executable stored in bin/Windows/Debug. It ran fine on my development machine, but when I copied it to another machine, the game crashed. I’m not sure what the problem is, but I wouldn’t be surprised if it was missing a library.
I’m using Visual Studio Community 2013. I mostly followed these tutorials when I created my project: http://rbwhitaker.wikidot.com/monogame-tutorials
I’m still new to Monogame, XNA and Visual Studio, so any advice would be appreciated!