Personally I only needed to play an MP3, so I followed the instructions here:
to “empty” the SharpDX.mediaFoundation dll/xml (extremely ugly hack, to be honest) , and then I implemented playing the MP3 using the native API (declare a MediaElement in the GamePage.xaml, and use it to play an MP3).
Of course if you need other features from that DLL you’ll have to implement them ‘natively’