DX class present in two assemblies?

Hi, I am in the process of converting my 1.1 app to 2.0. The only remaining error reads:

The type 'Microsoft.DirectX.PrivateImplementationDetails.IDirect3DDevice9' exists in both 'c:\WINDOWS\Microsoft.NET\Managed DirectX\v9.02.2904\Microsoft.DirectX.Direct3D.dll' and 'c:\WINDOWS\Microsoft.NET\Managed DirectX\v9.02.2904\Microsoft.DirectX.Direct3DX.dll'

I need both Direct3D and Direct3DX in my application
How do I specify the assembly to look in for this class Why would MS include the same class in two assemblies

Thanks!


Answer this question

DX class present in two assemblies?

  • Jason Cheung

    C#, nevermind, I found out about extern aliases :)

    Thanks anyway!

  • Swamy Kanakala

    What Language are you using

  • DX class present in two assemblies?