Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top