ArthurHub / ArthurHub/HTML-Renderer
Exception on Windows Universal
- 主要語言
- C#
- 星號
- 1.4k
- 分支
- 550
- 平均合併
- 14 天 9 小時
- 30 天內合併 PR
- 1
描述
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)
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從 ImageDownloader 建構函式和 HtmlContainerInt.SetHtml 進入點開始,接著檢查 Windows Universal 路徑中參考 WebClient 的位置。在 Windows Universal 上重現 SetHtml,並確認它不再擲出回報的 TypeLoadException,且相關參考使用 WebRequest。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- desktop
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100