Thought I’d give it a go but is it just me?
File-> New Game
“Within Xamarin Studio, choose File → New Solution → MonoGame → Library → MonoGame Shared Library”
What choices do we get with a new MonoGame solution?..
Monogame Shared Project
Monogame Portable Library
amongst others
Alarm bells!
Eeeny Meeny Miny Mo… I went for PCL! Fingers crossed.
Delighted when I get a blue screen in the emulator…cornflower not BSOD!
Adding Game Assets
Moved the folder around and set the build action of Content.mgcb to MonoGameContetnReference. Correct that it wasn’t available in the drop down so had to manually type it.
Nice one! Why wasn’t it available though? Maybe due to the fact that when I get to double click the mgcb file then nothing happens.
Back in File->New Game there is “To get started, we first need to make sure we have both Xamarin and the latest development build of MonoGame installed.”
Well I’d installed the studio and then used the add-in manager to get what I presume is the nuget packages for monogame and gave me all the templates. Seems it doesn’t include the Content pipeline tool?
The other link to monogame itself was what I missed or at least thought wouldn’t be needed? Used the second link and installed the “Monogame SDK” plus Visual Studio Templates etc. Well it gives me the content pipeline tool as double clicking the mgcb file now opens it.
So add the assets…
more alarm bells go off when the Platform property for the content is Windows…shouldn’t it be Android? I change it. Also change it back to Windows later too
Also notice that each asset’s build property is set to build rather than copy (have changed those too and back!)
…and build them.
Success.
Creating Monkey Tap User Interface
Alarm bells when Content.Load isn’t qualified with type but change that, probably html “removing” it…
Build project and run…
Exception…couldn’t load monkey asset as a non-content file.
Show Details…click…nothing ever happens when the link is clicked?
So presumably the xnb file cannot be found hence playing around with all the build action properties.
Eventually decided to download the master monkey tap project from github to see what difference there may be. That won’t even build, one reason being the ogg content cannot be converted?
So that;s the fruit of my evening’s labour. I know the emulator works but as for a first project, not a great success at the moment.
Still no joy… @dellis1972 any suggestions as I’d rather not have to build everything from scratch again as that seems to be the only way I can ever get Monogame to work?