WebView - assets are not loaded inside html #6165
Labels
area/controls 🎮
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
area/single project ☝️
Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer
control-webview
p/2
Work that is important, but not critical for the release
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
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
The text was updated successfully, but these errors were encountered: