Hello,
png file could display normally in the MAUI.
This issue is related to images in the subfolder of Image folder.
You can show it by opening your Randoff.csproj
file, then find the <!-- Images -->
, add following code, reopen your VS and rebuild your project, check all images' value of build action property is MauiImage. Then you can see these images normally.
<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Include="Resources\Images\base\*" />
<MauiImage Include="Resources\Images\Profil\*" />
Please
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.