Could not load type 'System.Web.UI.ParseChildrenAttribute' from assembly 'System.Web, Version=4.0.0.0, Cult=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Viewed 31

My .NET 5 application after nuget update is facing an error when I run the application.

TypeLoadException: Could not load type 'System.Web.UI.ParseChildrenAttribute' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

Error

NugetUpdate

1 Answers

If you look in the documentation ParseChildrenAttribute Class Microsoft documentation the supported version is up to 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.

Related