Bug 13919 - Content.Load<SpriteFont>("fontname") throws NotImplementedException
Summary: Content.Load<SpriteFont>("fontname") throws NotImplementedException
Alias: None
Product: Class Libraries
Classification: Mono
Component: Mono.Addins ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-08-12 10:07 UTC by Mr Major Thorburn
Modified: 2013-08-12 13:17 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Mr Major Thorburn 2013-08-12 10:07:33 UTC
Using MonoGame to try porting from visual studio 2010 express XNA 4.0 to xamarin studio 4.0.12 (build 3)
Trying to use fonts to write out the game score.
SpriteFont font;
font = Content.Load<SpriteFont>("fontname");

when running I get
  System.NotImplementedException: The method or operation is not implemented. ---> System.Exception: 

  --- End of inner exception stack trace ---

  at at Microsoft.Xna.Framework.Content.ContentManager.ReadRawAsset[T](String assetName, String originalAssetName)

  at at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)

  at at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)

  at CoolGame.Game1.LoadContent() in f:\Development\xamarin\MonoGame\CoolGame\CoolGame\Game1.cs:0

  at at Microsoft.Xna.Framework.Game.Initialize()

  at CoolGame.Game1.Initialize() in f:\Development\xamarin\MonoGame\CoolGame\CoolGame\Game1.cs:0

  at at Microsoft.Xna.Framework.Game.DoInitialize()

  at at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)

  at at Microsoft.Xna.Framework.Game.Run()

  at CoolGame.Program.Main() in f:\Development\xamarin\MonoGame\CoolGame\CoolGame\Program.cs:0

Am I trying something not setup yet or is this not going to be implemented because there is another way.
Comment 1 Mikayla Hutchinson [MSFT] 2013-08-12 13:17:02 UTC
MonoGame is a third part project, please report this to them: https://github.com/mono/MonoGame/issues