Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Cant load library Microsoft.Toolkit.Win32.UI.Controls

$
0
0

Hi. I want to embed WebView into my Visual Studio Extension since WebBrowser is still using IE. I added Microsoft.Toolkit.Win32.UI.Controls (3.0.0) to solution with nuget. After that I could see WebView in the XAML designer but when Visual Studio debugging instance (tried both AnyCPU and x86) started, invoking new WebView causes:

System.IO.FileLoadException: 'Could not load file or assembly 'Microsoft.Toolkit.Win32.UI.Controls, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)'

PS: Shouldn't the PublicKeyToken have a value other than null?

Thanks.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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