-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[MAUI] .NET 9 GA BlazorWebView not rendering on ARM64 Windows Desktop #26003
Comments
Also, FWIW, attempting to install WebView2 from here fails: |
A C++ console app w/ Nuget package
Here's the code: #include <iostream>
#include <windows.h>
#include <wrl.h>
#include "WebView2.h"
int main()
{
// Initialize COM library
HRESULT hr = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
if (FAILED(hr))
{
std::cerr << "Failed to initialize COM library. HRESULT: " << hr << std::endl;
return 1;
}
// Get the WebView2 Runtime version
LPWSTR versionInfo = nullptr;
hr = GetAvailableCoreWebView2BrowserVersionString(nullptr, &versionInfo);
if (SUCCEEDED(hr) && versionInfo != nullptr)
{
std::wcout << L"WebView2 Runtime version: " << versionInfo << std::endl;
CoTaskMemFree(versionInfo);
}
else
{
std::cerr << "WebView2 Runtime not found or failed to retrieve version. HRESULT: " << hr << std::endl;
}
// Uninitialize COM library
CoUninitialize();
return 0;
} |
Thanks for contacting us. |
Hi @dcuccia. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
@mkArtakMSFT great idea, sorry I didn't think of that. Seems that the WinForms version works fine: |
Description
I'm unable to properly render the Blazor Hybrid template for Windows Desktop on my new ARM64 machine (Snapdragon X Elite Thinkpad T14s Gen 6):
The web version runs fine:
...and it works fine on my Intel x64 desktop:
I've installed the GA .NET 9 SDK and run
dotnet workload update
(VS 2022, VS 2022 Preview, and VS code + MAUI extension all up to date). I haven't (yet) experimented with any updating/replacing the built-in WebView2.Here's a dump of info:
VS 2022 Info:
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
9.0.0 GA
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
net9.0-windows10.0.19041.0
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: