错误 - SpriteFont未实现

Ben*_*Ben 2 c# monogame spritefont

我正试图在Monogame程序中绘制文本.我想使用SpriteFont来执行此操作,但在尝试加载SpriteFont时出现以下错误.

//Here I try to load the SpriteFont
//It is kept in the "Content/fonts" folder, with "Content" as the Content.RootDirectory
Font = Content.Load<SpriteFont>("fonts/SpriteFont1");

//I then get this error
An unhandled exception of type 'System.NotImplementedException' occurred in MonoGame.Framework.dll
Additional information: The method or operation is not implemented.
Run Code Online (Sandbox Code Playgroud)

SpriteFont1构建操作设置为"内容",复制到输出目录为"始终复制".SpriteFont1.xnb文件位于Content文件夹中,具有相同的设置.如何修复错误以便我可以加载SpriteFont?

Ben*_*Ben 5

简单的修复.在堆栈跟踪之后(感谢Richard Schneider),我发现SpriteFont1.xnb文件需要与实际的.SpriteFont文件位于同一文件夹中.