C# Using Microsoft.Toolkit.Win32.UI.Controls in .NET Framework 4.6.1 - Web Browser Control Upgrade

后端 未结 1 469
借酒劲吻你
借酒劲吻你 2021-01-20 10:43

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

相关标签:
1条回答
  • 2021-01-20 11:23

    Ok, here's the deal, there's two steps to solve this issue. Hopefully if anyone else gets this error my answer will be able to save you all some time. I'll break this into 2 easy steps with links.

    1. First you'll want to read this article on how to update your framework. When you get to the "Target Framework:" dropdown, you'll want to select "Install other frameworks..." and find and download and run 4.6.2. Done.

    2. Next, you'll want to see what version of Windows you are running. Follow this: Start > Settings (gear icon towards bottom left) > System > About (bottom of left panel) > Scroll down to "Windows specifications" > Check your version. If you are running 1803, great - you're all done here! If you're like me and not already on version 1803 (I was on 1709) go here and click "Update Now" to download the installer on your PC. Find the installer and run. This will take awhile to finish installing so be patient and plug in your PC if you need to.

    That's it. Once this is installed you should be able to use WebViewControl in Visual Studio 4.6.2! Cheers!

    0 讨论(0)
提交回复
热议问题