-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Problem/Bug]: Microsoft.Web.WebView2.Core
missing from NuGet package build
#4784
Comments
Hi, @Daeer-Projects! It seems that your issue contains the word "crash". If you have not already, could you attach a crash dump as a comment? WV2 crash dumps are located in a subfolder of the app's user data folder (UDF): Thank you for your cooperation! |
When I say "Crash", I mean it did not run. I have no dump files to give. |
Hi @Daeer-Projects , thanks for reporting the issue. It seems very likely related to #4743 which has been fixed and I have provided the internally built SDKs with the fix. Would you mind checking whether you can repro the problem with |
Hello @oggy22 That worked for me. The application runs as expected. Thanks. |
Target date is |
What happened?
Application Crashes due to missing dll's
Our application crashes when run.
Our application is a dotnet 8 WPF application. We have a console application that runs the UI when it is loaded.
Problem
Using the NuGet version of 1.0.2739.15 causes our application to crash when loading with the following exception.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.WebView2.Core, Version=1.0.2739.15, Culture=neutral, PublicKeyToken=2a8ab48044d2601e'. The system cannot find the file specified. File name: 'Microsoft.Web.WebView2.Core, Version=1.0.2739.15, Culture=neutral, PublicKeyToken=2a8ab48044d2601e'
I checked the build folders for both the
Bootstrapper
andUserInterface
projects. The UI project contains the dll's, but theBootstrapper
project doesn't.Probable Cause
Looking at the packages on NuGet, I have noticed that the dll's for the net core app version are no longer contained in the
lib
folder.Last working NuGet package
Current stable NuGetpackage
This is the current stable package showing the netcoreapp folder is missing.
Work-a-round
For now, I'll use the old NuGet package.
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.2739.15
SDK Version
1.0.2739.15
Framework
WPF
Operating System
Windows 10, Windows 11
OS Version
19045.4780
Repro steps
Setup
Microsoft.Web.WebView2
to the UI project.Result
The result is the application crashes due to the missing dll's.
Expected results
The application runs and renders the UI without any exceptions.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Regression in newer SDK
Last working version (if regression)
1.0.2592.51
The text was updated successfully, but these errors were encountered: