10 Eylül 2018 Pazartesi

Program.cs(15, 28): [CS0017] Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point.

If you getting error after adding after adding Microsoft.NET.Test.Sdk Nuget package to project reference you can just add 
property in Project PropertyGroup in your .csproj file like screenshot. This will prevent multiple Main function conflict error. 


0 yorum:

Yorum Gönder