Monogame visual studio 2015 code#
I paste some code here so you better can see what i have done.
"C:\Users\admin\Documents\Visual Studio 2012\Projects\MyGame\MyGame\bin\WindowsGL\Debug\Content" This is not where vs2012 where looking for my *.spritefot file it was here.-> "C:\Users\admin\Documents\Visual Studio 2012\Projects\MyGame\MyGame\Content" When i added it through solution ntent->add exsisting item.then the url was wrong. spritefont in vs2012 I generated a spriteFont file in my vs2010 and then added i to my vs2012 project.BUT it did not work.Īnd this morning I saw that the URL for that. I dont know if all these steps are nessecery. Let me take you through the steps i have taken. I should add that this is as "monoGame Windows OpenGL Pjoject" What i am working on is Windows8, VS2012, MonoGame. I have been working on this for several days now, trying to fix this and eventually i got i to work. spritefont file so you can see if it's currently supported
Monogame visual studio 2015 install#
Since you don't want to install XNA to generate these XNB files you might want to check the XNA Content Compiler Project on codeplex. For that see the bottom of this post.Īs far as I can tell, even as far back as August, the loading of already compiled spritefonts from XNB files is supported. spritefont file which needs to be added to your content folder. Of course you need to know the syntax of a. At least in August this year generating spritefonts was not yet supported by MonoGame, however the content pipeline was the main focus of attention the last few months so I wouldn't be surprised if it does work currently.