Where did the System.Media namespace go?

I'm trying to "use" the System.Media namespace so that I can say

SystemSounds.Beep.Play()

So I write: using System.Media;

But System.Media no longer appears to exist; vs2015 flags it as an error.

I'm using windows 10; programming in a csharp unity script in vs2015 and targetting .net 3.5

I tried adding a reference to the project and can't find it in references either.

Someone said that the .media members had been merged with the System namespace but I can't find it there either.

by someguysaid via /r/csharp

Leave a Reply