Never mind. Problem solved.
Error APT 2144 in Android.NET Upgrade
I am upgrading a long-term Android.Xamarin project to an Android.NET project and trying to build the new .NET project in VS 2022. When building the app in Debug or Release mode I get the following error:
APT 2144 invalid file path 'E:\Android Project\S... Pro .NET...\obj\Debug\net9.0-android35.0\res\temp\main.xml'. C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.78\tools\Xamarin.Android.Aapt2.targets 123
The file (I actually have 3 xml files with this error) does exist in the relevant folder. I have tried to find the cause of the problem without success. I'm using the latest VS2022 Community version. Line 123 is: protected override void OnCreate(Bundle bundle) {...
Any pointers as to where I should look for the problem?