Monday, March 30, 2020

Program does not contain a static 'Main' method suitable for an entry point

Take <OutputType>Exe</OutputType> out of the PropertyGroup tag in .csproj to make this error go away. The problem is that you made a console app when you meant to make a class library.

No comments:

Post a Comment