我是靠谱客的博主 欢喜星月,这篇文章主要介绍Net core 报 Could not load file or assembly ‘System.Security.Permissions 错误,现在分享给大家,希望可以做个参考。
完整错误提示
System.IO.FileNotFoundException:“Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. 系统找不到指定的文件。”
控制台 错误提示:
根据提示可知:这是由于Newtonsoft.Json 引起的错误
解决方法:
打开项目“管理NuGet程序包(N)..”
安装最新版 Newtonsoft.Json 即可解决问题
最后
以上就是欢喜星月最近收集整理的关于Net core 报 Could not load file or assembly ‘System.Security.Permissions 错误的全部内容,更多相关Net内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复