Closed RonBOakes closed 5 months ago
The solution to the issue preventing adding System.Windows.Media to the project can be found on Stack Overflow.
Add the following to the .csproj file (at the top level)
\<ItemGroup> \<FrameworkReference Include="Microsoft.WindowsDesktop.App" /> \</ItemGroup>
Update the code to use the MediaPlayer class rather than the deprecated WMPLib.WindowsMediaPlayer