Closed nk54 closed 2 years ago
Additionnal info : on Windows, it doesn't crash. But there is no icons
Possibly same or related: #5652
Verified repro on Android 12.0 with above steps.
I think this is a duplicate of #5652 and I think half the time when files are moved in VS the IDE decides it does not want to track the files and adds an explicit remove for everything.
Closing this as a result of the duplicate and the issue will be tracked there.
Improvements are happening here: https://github.com/dotnet/maui/pull/7968
Description
I want to put every image I use inside the Images folder.
But on the default project template, both appicon.svg ad appiconfg.svg are in the resources folder (at the root).
I tried to move them in Resources/Images. It works. At least I thought it worked. It works only if you compiled in the past and the generated files are still there in the bin folder.
Now, clean bin or clone the branch in another repo without any bin/debug files.
Build again, and now Android cannot be launched as VS doesn't find the images anymore.
Note : no problem on Windows
Steps to Reproduce
Create a new MAUI app. Move the appicon.svg and appiconfg.svg inside the Images folder.
Try to launch.
Version with bug
Release Candidate 2 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 11
Did you find any workaround?
Put back the images at the root of Resource folder and forget to have a clean solution where Images are inside the Images folder......
Relevant log output