[英]Could not load type 'System.Web.UI.ParseChildrenAttribute' from assembly 'System.Web, Version=4.0.0.0, Cult=neutral, PublicKeyToken=b03f5f7f11d50a3a'
My .NET 5 application after nuget update is facing an error when I run the application.我的 .NET 5 应用程序在 nuget 更新后运行应用程序时遇到错误。
TypeLoadException: Could not load type 'System.Web.UI.ParseChildrenAttribute' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
If you look in the documentation ParseChildrenAttribute Class
Microsoft documentation the supported version is up to 4.8.如果您查看文档
ParseChildrenAttribute Class
Microsoft 文档,则支持的版本最高为 4.8。 You are using some packages or libraries that are dependent on this reference and that is why you can't upgrade to.Net 5.您正在使用一些依赖于此参考的包或库,这就是您无法升级到 .Net 5 的原因。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.