There is a parameter in the project.json file emitEntryPoint.
"buildOptions": {
"emitEntryPoint": true
}
This switches between the console application .exe (true) and the .dll (false) library.
If this option is enabled, the application should have public static void Main().
See: The answer to the emitEntryPointmeaning
source
share