2
将Visual Studio 2019更新为16.4.0之后,我无法使用目标框架2.2运行测试
我已经更新Visual studio 2019到版本16.4.0。此版本包括.NET Core SDK3.1.100。 在那之后,我尝试在Target Framework2.2版本的项目上运行一些单元测试,但是无法执行。它给出以下错误: Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Testhost process exited with error: It was not possible to find any compatible framework version The framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found. - The following frameworks were found: 3.1.0 at [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App] You can resolve the problem by installing the …