Closed
Description
Version Used:
C:\Temp\HelloConsole>dotnet --version
5.0.100-rc.2.20479.15
Steps to Reproduce:
- Creating a new dotnet console application
- Publish it as a single file using
dotnet publish -r win-x64 -p:PublishSingleFile=true --self-contained true
or
dotnet publish -r win10-x64 /p:PublishSingleFile=true
- then I get these files created:
11/04/2020 02:54 PM
.11/04/2020 02:54 PM ..
09/25/2020 10:47 PM 747,912 clrcompression.dll
09/25/2020 10:46 PM 1,324,416 clrjit.dll
09/25/2020 10:47 PM 5,154,696 coreclr.dll
11/04/2020 02:54 PM 53,289,026 HelloConsole.exe
11/04/2020 02:50 PM 9,352 HelloConsole.pdb
09/25/2020 10:46 PM 1,042,792 mscordaccore.dll
Expected Behavior:
I would expect to only get one file.
Actual Behavior:
I get many files. So bit confused here.... Why I don't get a single file?. I get the same result when I publish from inside visual Studio as well.