This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error CS2017
Cannot specify /main and /dll for the same output file
You cannot specify a Main entry point when you are building a /target:library.