Fixing the error "Program has more than one entry point defined" for console apps containing xUnit tests

added by DotNetKicks
10/31/2017 12:39:17 PM

2 Kicks, 100 Views

This post describes a problem I ran into when converting a test project from .NET Framework to .NET Core. The test project was a console app, so that specific tests could easily be run from the command line, as well as using the normal xUnit console runner.