Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'MemoryStream' could not be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 9:          var synthThread = new Thread(() =>
Line 10:         {
Line 11:             using (MemoryStream memoryStream = new MemoryStream())
Line 12:             using (SpeechSynthesizer synthesizer = new SpeechSynthesizer())
Line 13:             {

Source File: c:\inetpub\speech-expoexpo.com\expoexpo.com\expoexpo.com\App_Code\TextToSpeech.cs    Line: 11







Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0