• Advertisement
Sign in to follow this  

Which references for managed direct3d?

This topic is 4281 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've been trying to use managed Direct3D with C#, but I'm terribly confused with all the different references. Which reference(s) should I include (I'm using Visual Studio 2005)? I want to be able to use the GraphicsBuffer(which seems to only be in Microsoft.DirectX 2.0.0.0) and TextureLoader classes. The only problem is that if I try to include Microsoft.DirectX 2.0.0.0 with one of the other 1.x references I get a warning that says:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.

I see a list of: Microsoft.DirectX 1.0.1901.0 Microsoft.DirectX 1.0.2902.0 Microsoft.DirectX 2.0.0.0 Microsoft.DirectX 1.0.900.0 Microsoft.DirectX.Direct3D 1.0.1901.0 Microsoft.DirectX.Direct3D 1.0.2902.0 Microsoft.DirectX.Direct3D 1.0.900.0 Microsoft.DirectX.Direct3DX 1.0.1901.0 Microsoft.DirectX.Direct3DX 1.0.2902.0 Microsoft.DirectX.Direct3DX 1.0.2903.0 Microsoft.DirectX.Direct3DX 1.0.2904.0 Microsoft.DirectX.Direct3DX 1.0.2905.0 Microsoft.DirectX.Direct3DX 1.0.2906.0 Microsoft.DirectX.Direct3DX 1.0.2907.0 Microsoft.DirectX.Direct3DX 1.0.2908.0 Microsoft.DirectX.Direct3DX 1.0.2909.0 Microsoft.DirectX.Direct3DX 1.0.2910.0 Microsoft.DirectX.Direct3DX 1.0.2911.0 Microsoft.DirectX.Direct3DX 1.0.900.0

Share this post


Link to post
Share on other sites
Advertisement
[edit after I read your post second time [smile]]

Don't mix 1.0 with 2.0. Also 2.0 is a beta, I'd stay away from it if possible. I'm not sure about GraphicsBuffer but you have TextureLoader in 1.0.
What are you using GraphicsBuffer for?

Share this post


Link to post
Share on other sites
Thanks, reading through that thread cleared it up for me.

I thought I needed GraphicsBuffer to use with Texture.Lock(), but I see that the 1.x version has Texture.LockRectangle() which doesn't use GraphicsBuffer.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement