I have a .NET 5 console application.
It didn't have a direct reference from the main exe to other class library projects.
However during runtime, it dynamically loads those DLLs and uses methods inside it, so the DLLs are required but I don't want to make a direct project reference within Visual Studio.
Since there is no direct reference from the main executable to these external DLLs, will the DLLs be merged if I use single-file deployment in .NET core?
If no, then what is a way to merge 4 DLLs, to 1 DLL (not 1 executable), so that I can have 1 executable & 1 DLL?