Can I embed my DLL file into my EXE file ?

Embedding a library file to your main executable file will compress the library file and inject it to your main executable file's resources. NETGuard.IO will decompress them on-the-fly but support is limited.

Embeding is not fully supported. Your obfuscated output might need read access to external dependencies written on the disk !

Can I merge my DLL file with my EXE file ?

Merging a library file with your main executable file will inject the library file's code into your main executable MSIL code. This way, only 1 file containing both its code and the library code is created.

Do not merge public / non sensitive library. Merging adds code to the file, therefore loading time.
Was this article helpful?
Cancel
Thank you!