This repository was archived by the owner on Dec 19, 2018. It is now read-only.
ASP.NET Core 2.1 gives error CS2017: Cannot specify /main if building a module or library #2398
Labels
Milestone
Original issue: https://github.com/aspnet/websdk/issues/350
Steps to reproduce:
<StartupObject>foo.Program</StartupObject>
to the csprojBuild fails with:
1>CSC : error CS2017: Cannot specify /main if building a module or library
This error did not occur with 2.0. Also a plain .NET core console app initialized with dotnet new "console application" does not have this problem.
The text was updated successfully, but these errors were encountered: