title: Pack a precompiled .NET 6 dll to an executable
body: <p>I'm writing a program in C#. I'd like to compile the program to a DLL file, which can be easily be done with the <code>dotnet</code> cli tool. However, I would then like to pack this dll, along with all of it's dependencies, into a single executable file for the specified platform, along with some configuration values which could be accessed in the C# code. I do not want to use Publish single file because the configuration values will vary and I don't want to need the source code every time I need a new executable. Is this possible? I can't find anything of the sort in Microsoft documentation or on Google.</p>