Play Background music in Windows Phone app C# code

We want to play background sound in our Windows Phone app, we can play using this below objects. 1) MediaElement -- need to include phone.controls dll 2) SoundEffect  - need to include XNA framework dlls To Play Sound in background first we have to please audio file in our project. in my case I placed those audio file in Sounds folder. Then in Solution Explore right click on add audio file and go to Properties . In Build Action, set value to Content. Copy to Output Direct value to Copy if n...
More