I'm going through this tutorial on SoundEffect: http://msdn.microsoft.com/en-us/library/bb195053.aspx However, I'm getting the error from the compiler that "Content" doesn't exist in the current context.
Here's the code:
using Microsoft.Xna.Framework.Audio;
using Microsfot.Xna.Framework.Content;
namespace SoundTouchTest
{
class SoundTouchTest
{
public void loadContent()
{
SoundEffect s;
s = Content.Load<SoundEffect>("example");
}
}
}
I've successfully added the references (or at least I think that I have).Any ideas why this is happening? Thanks!