You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On windows universal there is no WebClient avaliable. It throws an exception inside SetHtml All referencesz should be converted to WebRequest.
Exception thrown: 'System.TypeLoadException' in HtmlRenderer.dll
AppError:System.TypeLoadException: Could not load type 'System.Net.WebClient' from assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes'.
at TheArtOfDev.HtmlRenderer.Core.Handlers.ImageDownloader..ctor()
at TheArtOfDev.HtmlRenderer.Core.HtmlContainerInt.SetHtml(String htmlSource, CssData baseCssData)
Fixed with #244, which replaced WebClient with an HttpClient based network loader as part of making resource loading async. Closing this, but feel free to reopen with a repro if it still happens with 2.0.
Activity
Licshee commentedon May 2, 2017
I'll check what I can do
eXpl0it3r commentedon Nov 23, 2026
Fixed with #244, which replaced
WebClientwith anHttpClientbased network loader as part of making resource loading async. Closing this, but feel free to reopen with a repro if it still happens with 2.0.