este es el error que tengo:
System.TypeLoadException : Could not load type 'Microsoft.Extensions.DependencyInjection.MvcJsonMvcCoreBuilderExtensions' from assembly 'Microsoft.AspNetCore.Mvc.Formatters.Json, Version=3.1.8.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
como veis, el paquete esta instalado, y mis using statements son los siguientes:
using AngleSharp.Html.Dom;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
supongo que salta en los using porque ni siquiera salta el constructor de la clase,
alguna idea? Se trata de integration tests.
Los integration tests se basan en core 3.1 pero la api que se testea es 2.x, puede ser por eso?