首页 > 其他分享 >升级vs或者装了.Net 7.0后, 工程框架用 net6 的 dotnet watch 出错 Could not load file or assembly 'System.Runtime

升级vs或者装了.Net 7.0后, 工程框架用 net6 的 dotnet watch 出错 Could not load file or assembly 'System.Runtime

时间:2022-11-16 17:46:40浏览次数:51  
标签:load assembly 0.0 System 7.0 Version file

升级vs或者装了.Net 7.0后, 工程框架用 net6 的 dotnet watch 出错 'Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=7.0.0.0'

环境

(win/linux都一样报错)

工程框架

<TargetFramework>net6.0</TargetFramework>

错误

dotnet watch 

标签:load,assembly,0.0,System,7.0,Version,file
From: https://www.cnblogs.com/densen2014/p/16896747.html

相关文章