   [SOLVED]Sound in XNA
  hi there.Hopefully a very Simple Solution here.I am Trying to get a sound to play in XNA and so have declared these variblesAudioEngine aEngine;WaveBank wBank;SoundBank sndBank;and load these in the LoadContent() MethodaEngine = new AudioEngine("Content/mySound.xap");wvBank = new WaveBank(aEngine, "mySound.xwb");sndBank = new SoundBank(aEngine, "mySound.xsb");When I Compile this into my code I get a 'FileNotFoundException' was UNhandled.However the file mySound(created in the CrossPlatform Audio creation tool) is in the content Folder, and added to the Project. However it doesn't appear to have been built into the Debug\Content folder. Why is this. I have followed this method on a previous game and I worked fine.[Edited by - Andy474 on June 12, 2009 2:15:42 PM]
  How about telling us what the solution was, instead of just marking things as 'solved'?   ;  well after the hr it was posted, no-one seemed interested in giving a solution so i thought i may aswell return the favor   ;Quote:Original post by Andy474well after the hr it was posted, no-one seemed interested in giving a solution so i thought i may aswell return the favorUmm...I'm not sure if you noticed, but most threads here go a few hours without a response. In fact I think your thread was still up at the top when you marked it as "solved". ;  Andy you won't get far in life if you're not even willing to tell others how you fixed your problem after asking for help.Many here would have been happy to help you out but you can't expect them to be on here the entire time.Personally I would have thought that excluding the file from the project then importing it in again might have worked but maybe not. Why not share your solution?   ;  I feel stupid for not noticing thisaEngine = new AudioEngine("Content/mySound.xap");should beaEngine = new AudioEngine("Content/mySound.xgs");and the others declarations need to have there names changed.Stupid mistake Really.   