ASP.NET Core 2.1单元测试项目不能运行报错问题

本文主要介绍当创建测试项目或将应用程序和测试升级到ASP.NET Core 2.1/.NET Core 2.1,运行测试失败,程序集加载异常。

System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.AspNetCore, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

原文地址:ASP.NET Core 2.1单元测试项目不能运行报错问题

posted @ 2021-06-08 11:22  levizhong  阅读(123)  评论(0)    收藏  举报