How do I create a URI string that correctly points to a .wav file in my Resource directory?
I need to play a sound byte (MP3 or wav) from within a WPF application. I would like to use the MediaPlayer. I have a .wav file with;
"Build Action" = Content and "Copy to Output Directory" = "Copy if Newer" and this file is located in the Resources directory of my app.
However, I just cant get the URI string right. (and maybe the Build Action is not correct)