I am coding in c# on Windows Phone 8.1, and I need to play an .mp3 file. The only simple way I am aware of doing this is through the "Microsoft.Phone.BackgroundAudio" reference. However when i try to reference "Microsoft.Phone" through the object browser, it throws the error "cannot find type system.systemexception in module mscorlib.dll". Here is the relevant code below:
using Microsoft.Phone.BackgroundAudio;
when i use this i get the "cannot find type system.systemexception in module mscorlib.dll" error. Later in the script if i try to use a function of BackgroundAudio, it obviously throws an error and asks about a reference. However the reference doesnt work.
I have tried a complete reinstall, which was suggested on stackoverflow when i researched this question.
Any help would be much appreciated. Thanks!