I'm trying to play a song in a MonoGame project, but it always gives me a weird error. Here is the (Very simple) code:
Song song = Content.Load<Song>("Song1");
MediaPlayer.Play(song);
But whenever I run the program, it says this:
System.InvalidCastException: 'Unable to cast object of type 'Microsoft.Xna.Framework.Audio.SoundEffect' to type 'Microsoft.Xna.Framework.Media.Song'.'
Do you know why this happens? Any help would be appreciated! :D