I am using XUnit project to test my .net core 2.2 web API project, but while building the application I got MSB3277 warning message.
Can anyone tell me how to resolve this issue?
Add reference without version to Microsoft.AspNetCore.App
in your test project file.
<PackageReference Include="Microsoft.AspNetCore.App" />