Azure DevOps Error MAUI0000: System.IO.IOException: The process cannot access the file ‘D:\a\1\s\obj\Release\net6.0-android\resizetizer\r\drawable\icon.png’ because it is being used by another process.

Azure DevOps Error MAUI0000: System.IO.IOException: The process cannot access the file ‘D:\a\1\s\obj\Release\net6.0-android\resizetizer\r\drawable\icon.png’ because it is being used by another process.

This was driving me nuts for a few days, and unfortunately there’s very little documentation online on .Net MAUI…I’m hoping because it’s still relatively new. Don’t get me started on how frustrating both .Net MAUI and Xamarin can be…I’m sure you already know.

This will build just fine on your machine, then blow up with this or another similar error in an ADO build pipeline. I switched my NuGet package manager from packagereference to packages.config and it started working for me.

Comments are closed.