Skip to content

WebApplicationFactory and *.deps.json files? #27330

Answered by kimbell
kimbell asked this question in Q&A
Discussion options

You must be logged in to vote

I managed to resolve this by adding
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="3.1.9" />
to the problematic projects. This has MSBuild targets that copies things correctly.
I had the reference in the my common testing project, but this doesn't get applied transitively.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kimbell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant