Reputation: 61382
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
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
Reputation:
simply use the redistributable installer for mdx provided by microsoft. it will install the native dx as well as managed extensions.
Upvotes: 1