2017-08-24 68 views
1

昨天我將Visual Studio更新到15.3.1版,並安裝了.NET Core 2.0 SDK。 我所有的ASP.NET核心項目(針對net461)現在有這個運行時錯誤:Visual Studio 2017的Asp.net Core 2.0.0運行時錯誤

System.IO.FileLoadException: 'Could not load file or assembly 'System.IO.FileSystem

重現步驟:

  1. 新建項目> ASP.NET核心Web應用程序> Web應用程序(型號-view - 控制器)>行
  2. 編輯的csproj改變目標框架到net461

<TargetFramework>net461</TargetFramework>

有沒有人知道解決方法?

+1

你可以看看這個項目的解決方案,看看它是否適用於你的問題? https://developercommunity.visualstudio.com/content/problem/95070/could-not-load-file-or-assembly-systemruntime-vers.html – GusP

回答

0

一個完整的卸載並重新安裝固定此。

相關問題