I have been working on a port from .NET Xamarin to .NET MAUI with .NET 8
With much pain, I’ve been making progress (Maui is VERY buggy and quirky).
All of a sudden my builds fail with this error:
Microsoft.Maui.Resizetizer.After.targets(631,9): error MAUI0000: There was an exception processing the image ‘E:{project path}ResourcesImagessomeimage.png’: System.UnauthorizedAccessException: Access to the path ‘{projectpath}objDebugnet8.0-android34.0resizetizerrdrawablered.png’ is denied.
(I think the ONLY thing I did prior to this was to attempt to change the Android target framework, but then I set it back)
I’ve tried deleting all my output folders (bin, obj), cleaning, rebuilding, cleaning the nuget packages and restoring, rebooting VS, rebooting the machine… nothing works.
Has anyone else encountered this? Any solutions?
I’m running Visual Studio 2022 Version 17.10.4
Build is for .NET MAUI, Android platform (only), .NET 8, Android SDK Level 34
3