This question has already been answered:

My output project consists of a single file. I decided to use a third-party dll library in the project. How to make my program still consist of one file?

Reported as a duplicate by PashaPash member c # 28 Dec '16 at 8:26

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

    1 answer 1

    If the third-party DLL is also a .NET assembly, then try ILMerge :

    ILMerge is a utility that can be used to merge multiple .NET assemblies into a single assembly. ILMerge takes a set of input assemblies and merges into one target assembly.