C#C
C#4y ago
Surihia

Embedding dlls into a compiled exe [Answered]

I have few dll packages that I am using with my app and I want to embed them all inside a single compiled executable file.

I am using the following packages:
System.Buffers
System.Memory 

Now I have added the dll files by right clicking on my Project in the Solution explorer and by selecting the Add item option. the compiled app is larger as a result of this, but when I try running the app, it throws exceptions that the respective dll file is not present or unable to be loaded.
Was this page helpful?