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
The issue is that when we include Webview2 we get this error when trying to build the UWP platform with "Any CPU":
Error The processor architecture of the project being built "Any CPU" is not supported by the referenced SDK "Microsoft.VCLibs.Desktop, Version=14.0". Please consider changing the targeted processor architecture of your project (in Visual Studio this can be done through the Configuration Manager) to one of the architectures supported by the SDK: "x86, x64, ARM, ARM64". PubfinityPassportSDK C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 2451
This prevents us from using our normal build method.
Version
SDK: Microsoft.Web.WebView2
Runtime: Evergreen (latest)
Framework: UWP
OS: Win11
HemalathaDuraisamy
changed the title
The control is not working while using Webview2 in "Any CPU" UWP platform
The application is not working while using Webview2 in "Any CPU" UWP platform
Aug 11, 2023
I downloaded your sample app and tried building with Debug, Any CPU in Visual Studio 2022 and it succeeded. Are you still hitting this issue with the sample you sent?
Description
The issue is that when we include Webview2 we get this error when trying to build the UWP platform with "Any CPU":
Error The processor architecture of the project being built "Any CPU" is not supported by the referenced SDK "Microsoft.VCLibs.Desktop, Version=14.0". Please consider changing the targeted processor architecture of your project (in Visual Studio this can be done through the Configuration Manager) to one of the architectures supported by the SDK: "x86, x64, ARM, ARM64". PubfinityPassportSDK C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 2451
This prevents us from using our normal build method.
Version
SDK: Microsoft.Web.WebView2
Runtime: Evergreen (latest)
Framework: UWP
OS: Win11
Repro Steps
We created a sample for illustrating the issue and it can be downloaded from the below links,
https://www.syncfusion.com/downloads/support/directtrac/general/ze/Hybrid519577789
The text was updated successfully, but these errors were encountered: