HI.
There is no mention of linux. Its the csproj you get from the "dotnet new maui" command and it would have no reason to mention linux inside the csproj file I would think. I created another admin account on my mac and when I logged into that account the build and restore went without errors. So something in my home directory was causing it but since I didn't have the time so now I just wiped everything and started with a clean home directory for my main account. Its working now. VS Mac 2022 Maui preview also couldn't restore the nuget packages or build either when it was happening.