I worked with the Monogame 3.4 without problems, but today I upgraded it to 3.5 and now I simply can’t run the game because I get the following error to every content load:
Could not load […] asset as a non-content file!
Just before installing the v3.5 I tried run the game and it worked. What need I do to it work again? I tried to setup a new project, create a simple .spritefont and load it, but I still get the same error.
I did some tests here and I figured something: the error only occurs on Windows OpenGL Projects. I created the same scenario on a Cross Platform Project and on a Windows Project. No error.
@LithiumToast yeah, good point. I debugged the exception and received the following:
Microsoft.Xna.Framework.Content.ContentLoadException: Could not load imgs/characters/Player asset as a non-content file! —> Microsoft.Xna.Framework.Content.ContentLoadException: Asset does not appear to be a valid XNB file. Did you process your content for Windows?
I already did the rebuild multiple time, with the Platform set to “Windows” and “DesktopGL”. The project is Windows OpenGL, maybe I will need to create a new project Cross Platform and move everything?