I recently tried updating a .NET MAUI app that we have that was targeting android version 33 to version 34. Im now getting 4 errors:
Assets file '{Filepath}\obj\project.assets.json' doesn't have a target for 'net8.0-windows10.0.19041.0'. Ensure that restore has run and that you have included 'net8.0-windows10.0.19041.0' in the TargetFrameworks for your project.
Assets file '{Filepath}\obj\project.assets.json' doesn't have a target for 'net8.0-ios'. Ensure that restore has run and that you have included 'net8.0-ios' in the TargetFrameworks for your project.
Assets file '{Filepath}\obj\project.assets.json' doesn't have a target for 'net8.0-android34.0'. Ensure that restore has run and that you have included 'net8.0-android34.0' in the TargetFrameworks for your project.
Assets file '{Filepath}\obj\project.assets.json' doesn't have a target for 'net7.0-maccatalyst'. Ensure that restore has run and that you have included 'net7.0-maccatalyst' in the TargetFrameworks for your project.
I've tried running msbuild /target:Restore {Project Name.sln} from the developer powershell, but still no dice. I see that this seems to be a pretty common issue but I haven't had any luck with the solutions