Build Error

  • Thread starter Thread starter Larry
  • Start date Start date
L

Larry

This may be the wrong place to post this as it pertains to DX9 and C#. If
so please point me to the right forum. If not, then I need to fix the
constant error that pops up below, while building ALL projects with DirectX:

Error 1 The type 'Microsoft.DirectX.Direct3D.Device' exists in both
'c:\WINDOWS\Microsoft.NET\DirectX for Managed
Code\2.0.0.0_x86\Microsoft.DirectX.dll' and
'c:\WINDOWS\Microsoft.NET\DirectX for Managed
Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll'

Thanks, LarryP.
 
Larry said:
This may be the wrong place to post this as it pertains to DX9 and C#. If
so please point me to the right forum. If not, then I need to fix the
constant error that pops up below, while building ALL projects with DirectX:

Error 1 The type 'Microsoft.DirectX.Direct3D.Device' exists in both
'c:\WINDOWS\Microsoft.NET\DirectX for Managed
Code\2.0.0.0_x86\Microsoft.DirectX.dll' and
'c:\WINDOWS\Microsoft.NET\DirectX for Managed
Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll'

It looks to me like you've got references to two different versions of
DX9. Remove one of the references (probably the older one, the
v1.0.2902 one) and I suspect things will clear up.
 
Back
Top