Sign in to follow this  

[.net] Distribution Compatability Problems

This topic is 4586 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 am making a game with C# and DirectX 9. It's getting very close to being finished, but I'm having a heck of a time trying to get it working on all computers. As far as I understand it, each computer needs only DX9 and the .NET framework installed and it should work, but it rarely does. Placing all of the .dll files that it uses in the root directory of the game has also helped in the past, but isn't working very well anymore. Has anyone else had problems like this and found a sure-fire solution to get it working? I want to be more confident it will work for everyone before I distribute it. Thanks for any help you can give me, Rajiv

Share this post


Link to post
Share on other sites
Before the April DX SDK you would have to manually install MDX by using the /InstallManagedDX switch on the command line, which rarely happened. What I found to be best was to compile against the April 2005 SDK and then use that redistributable which actually installs the managed extentions on its own and properly. I haven't had a problem since using it yet.

Please note that 'having DX9' on a computer does not mean 'having managed DX9' because until the April redistributable the managed extentions did not install by default.

For the .NET framework I use the bootstrapper to make sure it is there and installed.

Share this post


Link to post
Share on other sites
Oh an just FYI, if you didn't want to switch DirectX SDK versions you could always use the DirectX redistributable with the command line switch /InstallManagedDX (the redistributable version that you compiled your solution against) and you would be fine. I just prefer the latest April release due to fixes and simplicity of installation.

Share this post


Link to post
Share on other sites

This topic is 4586 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