How do I add a reference to the Microsoft.MediaCenter.TV.Scheduling namespace used in the media center SDK examples?

StackOverflow https://stackoverflow.com/questions/1992979

  •  22-09-2019
  •  | 
  •  

문제

I want to use the Microsoft.MediaCenter.TV.Scheduling namespace in my C# windows media center project but it's not showing up in the Add Reference dialog in Visual Studio.

Where can I find the right DLL to reference?

도움이 되었습니까?

해결책

Yep... Thats right.... Just remember that if you include a reference to the version for Xp then it wont work on Vista or Windows 7.... So make sure the is a late bound reference and isnt shipped with any software you write..

다른 팁

I was able to get the right reference by browsing for: %windir%\ehome\ehRecObj.dll

(info from http://thegreenbutton.com/forums/p/62380/329111.aspx)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top