Jump to content
  • Advertisement
Sign in to follow this  
makmoran87

SlimDx Problems HELP!

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

Hi,

I am using Visual C# 2010 and have written an application that relies on the SlimDx package. If i publish this and install on my pc then it works, however if i install it on any other PC then it wont work, unless i install the "SlimDx Developer SDK" (wont work with the redistributable package of SlimDx).

I have added SlimDx as a reference in my project, and under properties the path is set to:

"C:\Windows\Microsoft.NET\assembly\GAC_32\SlimDX\v4.0_4.0.10.43__b1b0c32fd1ffe4f9\SlimDX.dll"

Have tried "Copy Local" to True and False neither works.

I have also selected the SlimDx package as a prerequisite in the "Application Files" menu, and also checked the box for SlimDx in the "Prerequisites" menu.

Could anyone give me any suggestions as to where i am going wrong?

I am new to writing software so an obvious/simple mistake is possible!

Thanks,

Mark

Share this post


Link to post
Share on other sites
Advertisement
I guess we must not have made it clear, but the SlimDX end user runtime only installs the .NET 2.0 DLLs right now. We planned on releasing a separate .NET 4.0 runtime installer, but the changes to VS 2010 would require us to release separate x86 and x64 versions of it, and we're still looking at workarounds so that we don't have to do that.

The solution for now is to either build an installer yourself, or run the .NET 2.0 installer and then copy the .NET 4 DLLs alongside your app, and don't reference them from the GAC.

Share this post


Link to post
Share on other sites
Thanks for the reply.

Other than building my own installer, is there a quick & easy way of getting Visual C#'s "ClickOnce" to include the .dll's that i need?

Any help would be much appreciated.

Thanks

Mark

Share this post


Link to post
Share on other sites
Just add the DLLs as a reference by copying them next to your executable and then browsing to them there. ClickOnce should pick them up as dependencies and bring them along for the ride.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!