Help with understanding the latest WebView2
A while back I make a post where I shared an updated process to help with dumping text to a auxiliary panel using WebView2. I don't use it for all my modules, but it did have a specific use case. However, this use case isn't something i do all the time and it's been several weeks since I last used it. Microsoft, in their infinite wisdom, has decided to update the libraries in the Nuget package Microsoft.Web.WebView2
in a way that stops the base module I shared from working. For reference, I've attached a link to the module in question (but I don't know if it shares everything including Nuget package references).
https://share.linqpad.net/x47bgs3p.linq
I've searched around, but I'm either too tired at the moment to correctly formulate appropriate search terms or no one is bringing this up due to an uncommon use case. Looking for help in understanding how to get this code working again. Please!
Comments
They've renamed the lib folder to lib_manual to prevent WebView2 from working in LINQPad. You can work around this by downloading an older version of the NuGet package (e.g., 1.0.2151.40).
Wow! Why would they do that?
I've checked that latest working version is 1.0.2592.51.
Will it be fixed in the future?
I've managed to trick LINQPad into working with the latest WebView2 package by changing content of
C:\Users\bbr\AppData\Local\LINQPad\NuGet.NetCore.PerfCache\Microsoft.Web.WebView2 1.0.2903.40 RS802 9.0.0.0 win10-x64 9.0.0.txt
to:Originally it was:
Could generation of this file be improved to also use
lib_manual
?