Home > Mobile >  Install Microsoft.AspNetCore.Mvc.Testing on .net6
Install Microsoft.AspNetCore.Mvc.Testing on .net6

Time:01-17

I tried to install Microsoft.AspNetCore.Mvc.Testing on .net 6 but i got this error:

Error NU1202 Package Microsoft.AspNetCore.Mvc.Testing 7.0.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0)

is there any solution to add this package or similar packages to use integration test in web application api project?

i tried to write integration test but it seems not working and im looking for some other packages.

CodePudding user response:

I solved this by installing Microsoft.AspNetCore.Mvc.Testing with version 6.0.0

  • Related