Hello
So I’ve been tinkering around with Monogame using Xamarin Studio and I wanted to try my hand at a cross platform project so I created a shared project and referenced it to a desktop project, the issue now is that I’m trying to load a 3D model, “Queen.fbx” that I exported from blender, I didn’t expect it to work on my first try but the problem is that I, for the life of me, can’t seem to load it. The following is a screenshot of what it all looks like.
Thanks,
Vishahan
[EDIT] Its a strange thing, the content folder shows up empty. It would be really inconvenient if we had to somehow copy the content browser to each version. Maybe we need some kind of shared content. A work around could be to make a bat file that copies the content to each project (Overwriting Content.mgcb in each project), which would take a while on large scale.
[EDIT 2] SOLUTION
For people in the future who suffer the same fate.
So what I had to do was really quite simple. I started a new content library solution which I had named “core” with two other platform projects called “android” and “desktop”. To get a shared content working, all you need to do is, in the platform project folder, open the .csprog file in a text editor and change the line:
<MonoGameContentReference Include="Content\Content.mgcb" />
to
<MonoGameContentReference Include="[Main shared project directory]\Content\Content.mgcb" />
A small hint: in the directory you can use "..\"
which actually navigates to the parent folder, and then you can enter into your main project. so my directory was ..\core\Content\Content.mgcb