I have a small .Net 5 console application with no dependencies on third party components.
I have set it up to publish as a self-contained single-file.
However, in the publish directory is the EXE file and four DLLs. The EXE file will not run without those DLLs being present.
The DLLs are:
clrcompression.dll
clrjit.dll
coreclr.dll
mscordaccore.dll
Why is it Visual Studio does not understand single in Single-File publish ?
Andy