font = Content.Load<SpriteFont>("TopBarFont");
なんらかの理由で、何が起こっても、何を変更しても、常にこのエラーが発生します。
An unhandled exception of type 'System.NotImplementedException' occurred in MonoGame.Framework.dll Additional information: The method or operation is not implemented.
コンテンツ フォルダーに TopBarFont.spritefont をコンテンツとして設定し、他のすべてのアセットと同様に常に出力ディレクトリにコピーします。
私のスプライトフォントファイルは次のようになります。
<?xml version="1.0" encoding="utf-8"?>
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<FontName>Open Sans Light</FontName>
<Size>36</Size>
<Spacing>0</Spacing>
<UseKerning>true</UseKerning>
<Style>Regular</Style>
<CharacterRegions>
<CharacterRegion>
<Start> </Start>
<End>~</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
2D テクスチャを使用してそれを描画するだけの他の投稿を見ましたが、そうではありません。