'Is an .exe file generated when publishing a .net core console app in Linux?

Does the .net console app published on Linux-x64 produce an .exe file like in Windows?



Solution 1:[1]

The .exe is windows supported file which is not support in Linux, if you select Linux when publishing the application, it will just generate the dll which you could use dotnet command in Linux to run this dll.

For example:

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Brando Zhang