|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
I'd like to manage my EO libraries with NuGet, but I couldn't locate a package for the web browser which included the WPF portion.
Can a package be setup for EO.WebBrowser.Wpf?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
The EO.WebBrowser nuget package does include EO.WebBrowser.Wpf.dll. You can find the DLL in the lib directory.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
While the DLL is in fact included, the setup of this package somewhat defeats the purpose of NuGet. Having to manually reference the wpf portion of the browser library, means that when I update the library from nuget, I have to go through and remove the old reference and add the new reference to EO.WebBrowser.Wpf. This will be accident prone, as Visual studio will automatically attempt to find the appropriate version of the library if it exists. Since the DLL is pushed out the output folder after a build, the last built version will be used, causing the library to become out of sync after an update.
It would be really nice to have this referenced in the NuGet package, or have another NuGet package with this reference being handled.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Can you let us know the version of Visual Studio, nuget, and .NET framework you use? The package supposes to automatically reference to EO.WebBrowser.Wpf.dll if it sees your project references "PresentationCore". It seems that part is broken.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
My project targets .NET 4.5, I have .Net 4.6 installed on my system. I'm using Visual Studio Professsional 2015 Version 14.0.24720.00 Update 1 I'm using NuGet version 3.4.1.807, however I see that they just released an update on Friday, I'm going to install that and see if it makes a difference.
One of my projects doesn't reference PresentationCore, this project mainly exists to collect necessary files and references for ClickOnce deployment. I can't think of any reason why referencing PresentationCore from this project would be a problem, so I'll reference that and see if it makes a different.
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
I had falsely assumed that my ClickOnce project didn't reference PresentationCore since it is not a WPF project, however that doesn't appear to be the case, so that isn't the reason why the package didn't setup references correctly.
|
|
Rank: Advanced Member Groups: Member
Joined: 2/11/2015 Posts: 122
|
Upgrading NuGet to the latest version didn't resolve the issue.
I also tried removing the EO references entirely to ensure that it wasn't some kind of conflict with existing references, that also didn't resolve the problem.
Something else odd/annoying I noticed. When I add the nuget package, it creates an app.config in all the executable projects in the solution, regardless of if the package was added to the project. I only want 1 app.config in my entire solution, so I have to go back and clean up after upgrading. Not a big deal but wanted to mention it.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Thank you very much for the additional information. We will look into it and get back to you as soon as possible.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This is just to let you know that we have posted a new build that should resolve this issue. Now a "thank you" page should open after you install the package and if your project references PresentationCore, EO.WebBrowser.Wpf.dll will be automatically referenced. Please take a look and see if it works for you.
Thanks!
|
|