The problem is that it wants you to reference a class in a namespace in the platform-specific project inside the cross-platform project. It discusses file locations for the multi-project version, but doesn't provide an alternative for what should go in MauiProgram.cs.
Following the document "Using Custom Renderers in .NET MAUI" on the wiki: https://github.com/dotnet/maui/wiki/Using-Custom-Renderers-in-.NET-MAUI
The problem is that it wants you to reference a class in a namespace in the platform-specific project inside the cross-platform project. It discusses file locations for the multi-project version, but doesn't provide an alternative for what should go in MauiProgram.cs.