How to deploy a c# application while including third party DLL's?

Posted by Willem on Stack Overflow See other posts from Stack Overflow or by Willem
Published on 2010-06-02T08:11:27Z Indexed on 2010/06/02 8:13 UTC
Read the original article Hit count: 222

Filed under:
|
|
|

To start with, I don't know much of deployment. I hope my question makes sense.

I need to install/deploy a c# application to a number of desktops. It needs a third-party DLL : a c++ library ("lpsolve55.dll", for those interested, it is a free MIP/LP solver, see lpsolve.sourceforge.net/5.5/). I use it in my code in the following way:

    [DllImport("lpsolve55.dll", SetLastError = true)]
    public static extern bool add_column(int lp, double[] column);

For testing, I have manually copied the .dll file to to project\bin\release, it works fine.

My question: I will need an installer for the application, which will manage that the .dll will install as well. I am considering clickonce deployment since I am using visual studio express (2008), but any not too expensive solution will do.

What would you advice?

© Stack Overflow or respective owner

Related posts about c#

Related posts about deployment