Root Question Message

Arch Leaders
Arch Leaders11/16/2022
❔ Embed and Self-Extract C++ DLL in a CSharp Library


I'm trying to embed a C++ DLL into my C# library to allow for single file publishing without distributing the C++ DLL along side the final application. (That is, any application using this library)
I also don't want to require an initialize function to extract the C++ DLL, which could be forgotten and is a bit annoying for users.

Is there a way either extract the DLLs when the parent application starts or else, a way to have them self-extract automatically at runtime?
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy