Visual Studio Code – error CS0234: The type or namespace name 'Devices' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference?)
I am trying to go through this tutorial for on making sounds with waves using C#: https://www.codeguru.com/dotnet/making-sounds-with-waves-using-c/ The first sample code it has you run is this, which is supposed to play a .wav file: using Microsoft.VisualBasic; using Microsoft.VisualBasic.Devices; namespace…