codeninja.sj
codeninja.sj

Reputation: 4119

How to resolve MSB3277 warning message in Visual Studio while building Test project in Visual Studio?

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.

enter image description here

Can anyone tell me how to resolve this issue?

Upvotes: 1

Views: 229

Answers (1)

Prolog
Prolog

Reputation: 3374

Add reference without version to Microsoft.AspNetCore.App in your test project file.

<PackageReference Include="Microsoft.AspNetCore.App" />

Upvotes: 1

Related Questions