My program has been using the Web Browser Control for a while in my program, but it simply does not cut it anymore as it isn't able to work properly with the javascript on most webpages. Luckily, Microsoft has released a new web browser tool for us to use and it uses EdgeHTML powered webview. The nugget package installer here does not work in my program, however. When I run that in the package manager console, I get this error
Install failed. Rolling back... Package 'Microsoft.Toolkit.Win32.UI.Controls.3.0.0' does not exist in project 'Email Analyzer' Package 'Microsoft.Toolkit.Win32.UI.Controls.3.0.0' does not exist in folder 'C:\Users\thood\Desktop\Projects\Email Analyzer\packages' Executing nuget actions took 6.64 sec Install-Package : Could not install package 'Microsoft.Toolkit.Win32.UI.Controls 3.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. At line:1 char:1 + Install-Package Microsoft.Toolkit.Win32.UI.Controls -Version 3.0.0 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Additionally, here is the dialogue for the install process
PM> Install-Package Microsoft.Toolkit.Win32.UI.Controls -Version 3.0.0
Attempting to gather dependency information for package 'Microsoft.Toolkit.Win32.UI.Controls.3.0.0' with respect to project 'Email Analyzer', targeting '.NETFramework,Version=v4.6.1'
Gathering dependency information took 1.91 sec
Attempting to resolve dependencies for package 'Microsoft.Toolkit.Win32.UI.Controls.3.0.0' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Microsoft.Toolkit.Win32.UI.Controls.3.0.0'
Resolved actions to install package 'Microsoft.Toolkit.Win32.UI.Controls.3.0.0'
Retrieving package 'Microsoft.Toolkit.Win32.UI.Controls 3.0.0' from 'nuget.org'.
GET https://api.nuget.org/v3-flatcontainer/microsoft.toolkit.win32.ui.controls/3.0.0/microsoft.toolkit.win32.ui.controls.3.0.0.nupkg
OK https://api.nuget.org/v3-flatcontainer/microsoft.toolkit.win32.ui.controls/3.0.0/microsoft.toolkit.win32.ui.controls.3.0.0.nupkg 305ms
Installing Microsoft.Toolkit.Win32.UI.Controls 3.0.0.
Is this simply because the toolkit is not supported for 4.6.1? Rolling my program back to 3.0.0 is not really an option because I use references to System.Threading.Tasks
which is not available in 3.0.0. Has anyone running 4.6.1 been able to successfully integrate the new toolkit?