本文主要介紹當建立測試項目或将應用程式和測試更新到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.