ArthurHub / ArthurHub/HTML-Renderer

Exception on Windows Universal

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
C#
Stars
1.4k
Forks
550
Avg merge
14d 9h
Merged PRs (30d)
1

Description

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)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.