Problem compiling program in VS2005 with directx

G

Guest

I am getting this error when I try to compile
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' C:\Documents and
Settings\johnw\My Documents\Visual Studio
2005\Projects\example\example\example.cs

This a a new application with only a couple of lines of code.
 
G

Guest

Try to remove one of this dll from project references

John230873 said:
I am getting this error when I try to compile
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' C:\Documents and
Settings\johnw\My Documents\Visual Studio
2005\Projects\example\example\example.cs

This a a new application with only a couple of lines of code.

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top