Roman Starkov
Roman Starkov

Reputation: 61382

How to redistribute Managed DirectX?

I've developed an app which uses the Microsoft.DirectX.Direct3D namespace. The app runs on computers which have the Managed DirectX SDK installed, but not on those which have only the usual DirectX.

Specifically, it complains that it "Could not load file or assembly 'Microsoft.DirectX.Direct3D [...]".

What's the best way to redistribute the necessary assemblies?

Upvotes: 1

Views: 891

Answers (2)

Jim Arnold
Jim Arnold

Reputation: 2268

If you do redistribute the MDX libraries, be aware that this is no longer supported by Microsoft and has been deprecated in favour of XNA. You might also want to look at SlimDX as an alternative

Upvotes: 1

thomas woelfer
thomas woelfer

Reputation:

simply use the redistributable installer for mdx provided by microsoft. it will install the native dx as well as managed extensions.

Upvotes: 1

Related Questions