I have spent all day trying to figure out how to publish a project I made in school. My intention is to use it as part of my portfolio for future job prospects. I have one math class left and I get my BS in CS. In school, we only created installers once and it was in Java, and I think the teacher gave us the code, which isn't that helpful for learning how to do this.
I used Visual Studio 2015 Community with Monogame to make a trivia maze game. It runs fine when I have it in VS. I do ClickOnce installer via a tutorial I found online and I cannot get it to successfully install on my machine, or any other machine for that matter. I get a .net framework exception when I try to install the game. I look at the contents of the publish folder and it does create the manifest, the setup.exe, several .dll's and even my content folder that contains my sprite sheets. I do not see any of my .cs files however. I am not sure if this is an issue. Heck, I am not sure what to completely expect from running ClickOnce.
Another thing that might be worth noting; I read something about making sure to have VS set to release instead of debug. My program will not run when I select release. It crashes when it tries to load the content. Throws an unhandledContentload exception. I am not sure if this is a symptom to my problem or anything I should be concerned about.
And maybe this is another issue; For my .cs files, the Copy to Output Directory is set to Do not copy. Could this be an issue when it comes to publishing? The build action is set to compile.
Any help would be greatly appreciated. Thanks in advance for any help.