Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

Commented Unassigned: NuGet packages don't work out of the box [9080]

$
0
0
When using NuGet within VS2013 Ultimate to install HtmlRenderer.WinForms 1.5.0.6, it also automatically downloads HtmlRenderer.Core.1.5.0.5 and all is good. Target project is using .NET 4.0.

But the Html controls are not available in the toolbox (should they be?). Adding them manually by searching for them makes them appear. However, placing the control on the form causes an error that the accompanying HtmlRenderer.dll cannot be found. Copying these files from to the WinForms directory seems to resolve this issue.

Deleting the packages (i.e. reverting my repo to a clean state) allows NuGet to download the libraries and the project compiles and runs (so no general build failure, just an issue within the IDE).

While I have a workaround, I didn't see any solution by using Google on what might be wrong.
Comments: It appears that the HtmlRenderer.WinForms.dll requires the HtmlRenderer.dll to be in the same folder for the Visual Studio form designer to work. I copied HtmlRenderer.dll from ..\packages\HtmlRenderer.Core.1.5.05\lib\net45\ to ..\packages\HtmlRenderer.WinForms.1.5.06\lib\net45\

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>