I’m trying to use Monogame for the first time after really casually using XNA a while back. I’m trying to get the Content Pipeline to work with no luck whatsoever no matter how much documentation I’ve used. Here’s what I’ve done.
In the Content Pipeline tool, I’ve opened my .mgcb file for my game. I’ve created an Art and Font folder under content.
I’ve added an image to one and a spritefont to the other.
I’ve hit the build option to output .xnb files.
In my project solution, I’ve added a Content Folder, with an Art and Font folder within.
I’ve placed the .xnbs in them.
I’ve changed the properties in VS to be Content and to copy always
For the texture I used this line to load it:
whiteSquare = Content.Load<Texture2D>("Content/Art/whiteSquare.xnb");
This is how it used to be called, maybe it’s changed but all the tutorials I’ve found are old and still use this line so I’m not sure if that’s the problem. No matter, it says it can’t loaded as a non-content file. It’s driving me insane and none of the documentation is helping unfortunately. Please Help!