Sign in to follow this  

[MDX] Conflicts between different versions of the same dependent assembly

This topic is 4304 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I get this error several times when I try compiling a tutorial I found.
Error	7	The type 'Microsoft.DirectX.Direct3D.PresentParameters' exists in both 'd:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct3D\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.Direct3D.dll' and 'd:\WINDOWS\assembly\GAC_32\Microsoft.DirectX\2.0.0.0__31bf3856ad364e35\Microsoft.DirectX.dll'	G:\Download2\Section2\tut7\Tutorial 7 - Loading a Mesh\Graphics\Renderer.cs	16	11	Tutorial 7 - Loading a Mesh

I have two versions of SDK installed (June 2005 and February 2006), is this the source of the problem?

Share this post


Link to post
Share on other sites
I have at least 5 different MDX versions on my system. This is not the problem. From the version numbers I can see in your error message it looks like that you have a MDX 2 DirectX assembly and an MDX 1 Direct3D assembly in your reference list. You should remove the MDX 2 DirectX assembly and add a MDX 1 DirectX assembly.

Share this post


Link to post
Share on other sites
I have Microsoft.DirectX v 2.0.0.0 and Microsoft.DirectX v 1.0.2902.0 in my references. For some reason the later was selected. Thanks!

Share this post


Link to post
Share on other sites

This topic is 4304 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this