Alex
Alex

Reputation: 11137

can't find references Microsoft.DirectX.AudioVideoPlayback and Microsoft.DirectX

I've installed .net 4.0 as well as XNA 4.0 . A while ago I used Microsoft.DirectX to play some music and now when I try to redo the work, I can't find the reference. Did the new changes on the platform modify or moved something in the references?

Upvotes: 15

Views: 24957

Answers (1)

Robert Harvey
Robert Harvey

Reputation: 180787

Visual Studio 2010:

right click on project

Menu select "Add reference..."

select tab "Browse"

select directory "C:\windows\assembly\ GAC\Microsoft.DirectX.AudioVideoPlayback

The DLL to reference is in that folder.

You will need to download and install the DirectX Software Development Kit first, if you haven't done so already.

Upvotes: 25

Related Questions