Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Developer

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-09-2006, 04:33 AM
rocky_raher
Thinker
Join Date: Aug 2006
Posts: 323
Default How do I add the reference for the System.Media namespace?

I have been developing programs for my PPC in C# using Visual Studio 2005. Now I want to use the SoundPlayer class, which is in the System.Media namespace. I have the statement "using System.Media;", but when I try to build the program I get the error message, "The type or namespace name 'Media' does not exist in the class or namespace 'System' (are you missing an assembly reference?)"

So, I select menu items "Project -> Add Reference...", and under the .NET tab, System.Media is not listed.

I checked my PC's Add/Remove Programs list, and I do have .NET 2.0 installed.

What am I missing, and what do I have to do to get access to the System.Media namespace??
 
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:24 AM.