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
重现步骤:
- 新建项目> ASP.NET核心Web应用程序> Web应用程序(型号-view - 控制器)>行
- 编辑的csproj改变目标框架到net461
<TargetFramework>net461</TargetFramework>
有没有人知道解决方法?
你可以看看这个项目的解决方案,看看它是否适用于你的问题? https://developercommunity.visualstudio.com/content/problem/95070/could-not-load-file-or-assembly-systemruntime-vers.html – GusP