BlazorWebView & WindowsAppSDK - WebView2 DLL missmatch #10121
Labels
area-NugetPackage
Issue with the nuget package developer experience (e.g. build error, missing files)
question
This issue has been moved from a ticket on Developer Community.
[severity:I’m unable to use this version]
We are developing an WPF Blazor Hybrid app. The app also makes use of various features provided by the WindowsAppSDK library. Since we updated the WindowsAppSDK to version 1.6 the BlazorWebView cannot be instantiated anymore due to the following runtime exception:
The following two NuGet packages that we are using seem to be causing this conflict:
The following findings where the result of our own investigation of the problem:
We noticed that the VisualStudio update also has an influence. With version 17.10 the project with the lastest versions of the libraries could not be compiled and raised the compilation error:
Updating to 17.11 fixed the compilation error but the runtime error remained. With VisualStudio Version 17.10, adding the WindowsSdkPackageVersion tag in the project file as states in the compiler error message allowed for successful compilation but the runtime error remains.
The problem can be reproduced by the following steps:
Attached is a premade sample project to reproduce the problem:
BlazorWpf1.zip
Original Comments
Feedback Bot on 10/29/2024, 07:48 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
The text was updated successfully, but these errors were encountered: