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
I am using Microsoft.Web.WebView2.1.0.790-prerelease NuGet package in my WPF application which is targeting the .NET 4.6.2 Framework.
Getting this exception when packaging the app:
Initializing Error:System.DllNotFoundException: Unable to load DLL 'WebView2Loader.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2EnvironmentWithOptions(String browserExecutableFolder, String userDataFolder, ICoreWebView2EnvironmentOptions options, ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler environment_created_handler)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Windstream.Desktop.WeConnect.Views.LogInPage.d__20.MoveNext()
The text was updated successfully, but these errors were encountered:
So just to know, when we run our app with VS 2019 it automatically adds the runtime folder into the Bin>Release Folder, so why not in the WIX installer. And also there is no proper guidance in the DOC of Packaging related to WIX Installer.
@DavidShoe Do we have docs describing how to do this? Maybe we should link to the samples from the "Distributing your app" doc. And do you know if WiX should be picking up the dependencies itself automatically?
I am using Microsoft.Web.WebView2.1.0.790-prerelease NuGet package in my WPF application which is targeting the .NET 4.6.2 Framework.
Getting this exception when packaging the app:
Initializing Error:System.DllNotFoundException: Unable to load DLL 'WebView2Loader.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateCoreWebView2EnvironmentWithOptions(String browserExecutableFolder, String userDataFolder, ICoreWebView2EnvironmentOptions options, ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler environment_created_handler)
at Microsoft.Web.WebView2.Core.CoreWebView2Environment.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Windstream.Desktop.WeConnect.Views.LogInPage.d__20.MoveNext()
The text was updated successfully, but these errors were encountered: