Hi, I'm experiencing the same problem
after including all the files from my old Forms projects to a newly created maui solution, cannot get rid of this error:
1>CSC : error MAUIG1001: An error occured while parsing Xaml: Root element is missing..
1>CSC : error MAUIG1001: An error occured while parsing Xaml: Root element is missing..
Don't know what to do, I fixed everything from the refactorization but I cannot continue. I followed all the guides, I think I have it all as expected.
Not any clue how to fix it, neither in the warnings nor in the output of the build
my target framewoks in the csproj are like this
<TargetFrameworks>net6.0-android;net6.0-ios</TargetFrameworks>