Brett
Brett

Reputation: 3316

Reference to AudioVideoPlayback namespace

Disclaimer: I am a beginner and it is showing.

I am trying to follow the instructions here to play a movie within a c# program.

I have downloaded and installed:

Yet when I try to add a reference in my c# project to Microsoft.DirectX.AudioVideoPlayback I cannot find it.

Here is what I am doing: On the menu bar I click Project | Add Reference. Then I search through the COM components for something that is similar to "Microsoft Direct X AudioVideoPlayback" but I can't see anything remotely close.

Am I missing something? Did I incorrectly install the SDK?

Thanks,

Brett

Upvotes: 2

Views: 1324

Answers (1)

Raj Ranjhan
Raj Ranjhan

Reputation: 3917

You need to browse for it. The assembly is in GAC

%WinDir%\assembly\ GAC\Microsoft.DirectX.AudioVideoPlayback

On the menu bar I click Project | Add Reference | Browse

Upvotes: 2

Related Questions