Open fairking opened 2 years ago
Verified this issue with Visual Studio Enterprise 17.3.0 Preview 1.0 [32414.199.main]. Repro on Windows. Sample Project: 6165.zip
Some additional info.
If I try to load an image with full url I got the following error message ERR_UNKNOWN_URL_SCHEME: ms-appx-web:///
:
Still an issue on 6.0.300-rc.4.5681.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Verified this on Visual Studio Enterprise 17.6.0 Preview 4.0. Repro on Windows 11 with below Project: 6165.zip
You can try MauiHybridWebView with Net8 (https://github.com/Eilon/MauiHybridWebView) or HybridWebView in Net9. In my tests with MauiHybridWebView, js files are loaded correctly by HTML code.
Description
Maui Assets are not accessible via WebView.
The following html file:
not loading
assets
orimages
.The way how it was loaded:
Please see the sample project: https://gitlab.com/fairking/mauiwebviewsample I am trying to make it work on Windows (I have not tested it on Android yet). I was following those docs: https://docs.microsoft.com/en-us/dotnet/maui/user-interface/controls/webview#display-a-local-html-file
Steps to Reproduce
https://gitlab.com/fairking/mauiwebviewsample
Version with bug
Release Candidate 1 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.19041
Did you find any workaround?
no
Relevant log output
No response