maddymontaquila / maui-migration-samples

Help the .NET MAUI team make robust tooling to get folks updated to .NET MAUI!
16 stars 0 forks source link

[MIGRATION] Compatibility Renderers with multi-project configuration #12

Open BioTurboNick opened 2 years ago

BioTurboNick commented 2 years ago

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.

BioTurboNick commented 2 years ago

Alternatively, is there a way to migrate to a multi-targeted project?