-
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
Images no longer render in Preview 13 #4735
Comments
I can confirm this bug - I just upgraded my environment and project from Preview 12 to 13. It may be worth noting, that images drawn from memory streams (created e.g.; using |
From your screenshot I see its a windows app, this might help: https://github.com/dotnet/maui/wiki/Migrating-to-Preview-13 |
As I indicated in issue #4736, I discovered an element in the header of App.xaml that was pointing to Assets as the image directory. Namely, I will not close this issue. I will let @jsuarezruiz close it so that he knows how I resolved the issue. |
Since that platform-specific attribute ( Since I removed it in an attempt to resolve the build error even before finding the migration link, couldn't recall it while adding this #4736 (comment). |
@egvijayanand it's now added to the migration guide, glad this was figured out! 🐳 |
Description
I have ensured that all of the .svg files are have a build type of MauiIcon per the documentation on Images, yet they do not show up. I also tried to set all image files to have a build type of MauiImage to no avail.
Here is a screen shot from Preview 12. Notice the icon in the flyout head and all of the flyout item icons are drawn correctly.
Here is the same page in Preview 13.
Something is also going on with the flyout header margin (I have it set to 0,-40,0,0 so that it will align with the header row, but I need to do some more digging on that. Right now, I'm more concerned about the images not being drawn...
Steps to Reproduce
Version with bug
Preview 13 (current)
Last version that worked well
Preview 12
Affected platforms
Windows
Affected platform versions
Dependency net6.0-windows10.0.19041
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: