In wealth-lab 6, sounds could be played with the SoundPlayer [using System.Media]. However in wealth-lab 8, the following error is occurring
The type or namespace name ‘Media” does not exist in the namespace ‘System’ (are you missing an assembly reference?).
When I look in the .Net Framework Assemblies list there is no reference for System.Media.
Rename
https://stackoverflow.com/questions/42845506/how-to-play-a-sound-in-netcore
Also, haven't classes from System.Media migrated into System.Windows.Extensions external assembly, downloadable from Nuget?
https://www.nuget.org/packages/System.Windows.Extensions/
Also, haven't classes from System.Media migrated into System.Windows.Extensions external assembly, downloadable from Nuget?
https://www.nuget.org/packages/System.Windows.Extensions/
Yes the System.Media has migrated however when I asked the question at the time I did not know that.
Also the references for both the System.ComponentModel.Primitives and the System.Windows.Extenisons assemblies are required.
Also the references for both the System.ComponentModel.Primitives and the System.Windows.Extenisons assemblies are required.
Your Response
Post
Edit Post
Login is required