Syspect
Syspect

Reputation: 921

deploy program including external libraries

I have this application that uses external libraries (downloaded them from the Internet and are just situated locally on my machine). But I need to deploy the program and give it to customer whereas these external libraries should also be included in the deployed application, otherwise it won't work...

Should I just copy the library files in the project directory and then publish the project or something else?

p.s. the application is written in C# with .NET 4 on VS2010, and the external libraries are open source, so no worries on the license.

Upvotes: 2

Views: 1283

Answers (1)

KingCronus
KingCronus

Reputation: 4519

I'll assume you are using some flavour of visual studio.

If so, you need to set library "copy local" property to true.

See this Microsoft article for more information

This way, when you build the project, it will make a copy of all of the required libraries in the bin folder of the project.

Upvotes: 1

Related Questions