Karlos Garcia
Karlos Garcia

Reputation: 174

Distribution of a project with external dll libraries

I have developed a program in C# with Visual Studio and now I need to distribute it. For this I use Visual Studio Installer. My problem is with the dll libraries that the project detects as dependencies. With VSI I can install them in the folder I want, but the executable file needs to be in the same directory. How can I group them in a folder so that my executable knows where to read them?

Upvotes: 0

Views: 347

Answers (1)

Dylan
Dylan

Reputation: 582

According to your description, the "visual studio installer" seems to be the visual studio setup project.

First of all, you need to make your project supports the assemblies with "Copy Local = false": Referencing dlls without copying them C#

Then you can create folders into Application Folder to distribute your assemblies. enter image description here

Upvotes: 1

Related Questions