Fix: MSB4057 The target "ResolvePackageAssets" does not exist in the project in .NET MAUI

MSB4057 means a target ran against the outer cross-targeting build of a multi-targeted MAUI project. Pass a TFM, or guard the target with a TargetFramework condition.