Hi, I’m trying to make a sound play from a .mp3 file saved in the res/ directory of my .NET app. I have it as an embedded resource in the build action of the file. I’m able to successfully initialize the Player object, but it’s giving me a FileNotFoundException when trying to play it.
So far, this is the relevant code:
Player soundPlayer = new Player();
I guess my real question is, how do I know where the media file is located since it’s bundled with the app? Any help will be greatly appreciated.