-
Notifications
You must be signed in to change notification settings - Fork 822
Closed
Labels
difficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUICategorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/enhancementNew feature or requestNew feature or requestproject/resources 🈷️Categorizes an issue or PR as relevant to resources and localization (Resources, Assets,...)Categorizes an issue or PR as relevant to resources and localization (Resources, Assets,...)
Description
Current behavior
- I create project with template "Cross-Platform Library".
- Add the image file to the Assets directory of this project.
- Set the build action to Content.
- xaml
<Image Source="ms-appx:///Bs.Kehu/Assets/header.png" />
The image is displayed in uwp and android. But in iOS:
2020-01-20 11:05:49.261049+0800 UnoApp[12385:168687] \^[[41m\^[[30mfail\^[[39m\^[[22m\^[[49m: Windows.UI.Xaml.Media.ImageSource[0]
Unable to locate bundle resource [ms-appx:///Bs.Kehu/Assets/header.png]
Maybe it's not a bug. But I failed to get any help about this. I propose to add some help about this.
Thanks!
Expected behavior
How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package:
Package Version(s):
Affected platform(s):
- iOS
- Android
- WebAssembly
- WebAssembly renderers for Xamarin.Forms
- macOS
- Windows
- Build tasks
- Solution Templates
Visual Studio:
- 2017 (version: )
- 2019 (version: )
- for Mac (version: )
Relevant plugins:
- Resharper (version: )
Anything else we need to know?
Metadata
Metadata
Assignees
Labels
difficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUICategorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/enhancementNew feature or requestNew feature or requestproject/resources 🈷️Categorizes an issue or PR as relevant to resources and localization (Resources, Assets,...)Categorizes an issue or PR as relevant to resources and localization (Resources, Assets,...)