PDA

Click to See Complete Forum and Search --> : 'Microsoft.DirectX.Direct3D.Usage'


CodeMaker
Feb 17th, 2006, 02:18 AM
hi

i have Installed DirectX sdk2005

BUT WHILE RUNNING CODE

Following error accured

[The type 'Microsoft.DirectX.Direct3D.Usage' 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' ]


May i know hat may be the error

Please reply

jmcilhinney
Feb 17th, 2006, 02:56 AM
Have you added references to both those libraries to your project? From the version numbers I'd say that you should be using one or the other.