'How do I compile a Spritefont file into an XNB file?

So I've very recently started trying to program a game with a friend of mine. I found some well made tutorials on FNA and I've been using that and everything's worked great so far, except this one thing. I cannot for the life of me figure out how to compile a .spritefont file into an .xnb file.

With a lot of searching I managed to find a spritefont template, and I even found a program (XNA 4.0 Content Compiler) that's supposed to do exactly what I need, but when I add the spritefont I want and say build it gives an error I wasn't able to find answers for online. This feels like something that should be a way simpler task than it's being right now and would appreciate any help.

The error the compiler program throws:

at XNAContentCompiler.ContentCompilerForm.b__8_0() in D:\Data\OneDrive\Game Developing\XNA 4.0 Content Compiler\XNAContentCompiler\ContentCompilerForm.cs:line 110
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at XNAContentCompiler.ContentCompilerForm.d__8.MoveNext() in D:\Data\OneDrive\Game Developing\XNA 4.0 Content Compiler\XNAContentCompiler\ContentCompilerForm.cs:line 110



Solution 1:[1]

You did not specify the output directory! It's located at Project Settings > Output Directory.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Becks723