You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have a .NET winforms application which uses the webview2-control. The application has an own deployment process, which loads assemblies and dlls from specific locations, or from the GAC / windows system path.
Is it somehow possible to set the location / path of the needed assemblies "Microsoft.Web.WebView2.Core.dll", "Microsoft.Web.WebView2.WinForms.dll" and the loader dll "WebView2Loader.dll"? Or to get them to load from the windows system dir / assembly cache?
I've tried to copy those files to the windows system dirs or install the assemblies to the windows GAC, but it seems the application does not find the files there, so the webview2-control does not work (stays blank). The only working solution i could find is to store the files in the same path where the exe is located.
This discussion was converted from issue #1186 on October 10, 2023 18:09.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
we have a .NET winforms application which uses the webview2-control. The application has an own deployment process, which loads assemblies and dlls from specific locations, or from the GAC / windows system path.
Is it somehow possible to set the location / path of the needed assemblies "Microsoft.Web.WebView2.Core.dll", "Microsoft.Web.WebView2.WinForms.dll" and the loader dll "WebView2Loader.dll"? Or to get them to load from the windows system dir / assembly cache?
I've tried to copy those files to the windows system dirs or install the assemblies to the windows GAC, but it seems the application does not find the files there, so the webview2-control does not work (stays blank). The only working solution i could find is to store the files in the same path where the exe is located.
Any help would be very appreciated, thank you.
Best regards,
Daniel
Beta Was this translation helpful? Give feedback.
All reactions