maui: [XVS][VSM][MAUI]There were 3 errors when building and canceling solution several times
**Affected Build:**17.5.0 Preview 4.0 [33319.269.d17.5] Affect Target framework: net7.0-android/iOS/windows/maccatalyst ; net6.0-android/iOS/windows/maccatalyst
Version info:
- Microsoft.net.sdk.android : “33.0.26”
- Microsoft.net.sdk.iOS : “16.2.1007”
- Microsoft.net.sdk.Maui: “7.0.59”
Steps to reproduce:
- Create Maui project.
- Set Target Framework as ‘net7.0-android’ and select android device.
- Build the solution, cancel the project being built, build again, cancel the project being built for several times.
- Build the solution.
Actual Result: Build failed with 3 errors:
Error APT2260 resource mipmap/appicon (aka com.companyname.mauiapp17:mipmap/appicon) not found.
Error APT2260 resource mipmap/appicon_round (akacom.companyname.mauiapp17:mipmap/appicon_round) not found.
Error APT2067 failed processing manifest.
‘appicon’ is generated by MAUI at build time:
I would suspect that potentially the <ResizetizeImages/> MSBuild task has an incremental build bug when canceled. Changing area path for now.
looking at the new logs, the target “ResizetizeImages” is being skipped, and it appears that the expected app icons do not exist. But the stamp file is still in place.
I’ve not seen any point in the logs provided where the appicon files are deleted yet. So I’m not sure what is deleting them.
About this issue
- Original URL
- State: open
- Created 8 months ago
- Reactions: 3
- Comments: 15 (4 by maintainers)
I also see this happening every now and then.