Skip to content
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

The application is not working while using Webview2 in "Any CPU" UWP platform #3703

Closed
HemalathaDuraisamy opened this issue Aug 11, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@HemalathaDuraisamy
Copy link

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

@HemalathaDuraisamy HemalathaDuraisamy added the bug Something isn't working label Aug 11, 2023
@HemalathaDuraisamy 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
@novac42
Copy link
Contributor

novac42 commented Aug 14, 2023

Thanks for reporting the issue and sorry you are running into it. I've assigned this to a dev who can help follow up on this.

@HemalathaDuraisamy
Copy link
Author

Any updates?

1 similar comment
@HemalathaDuraisamy
Copy link
Author

Any updates?

@jennifer-jacobs
Copy link

Hi @HemalathaDuraisamy,

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?

@jennifer-jacobs
Copy link

I'll go ahead and close this for now but feel free to re-open if you are still hitting the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants