Closed Seuleuzeuh closed 1 year ago
I'm going to assume that this issue is already resolved as 2.1 will change the implementation over to use Roslyn Source Generators moving forward. If you can provide a sample app though I would be happy to verify that for you.
I've forked and added an MAUI sample in the main branch codebase (i'f you want that in a PR tell me). The secret generation does not work in WinUI. I'll make you a repro project that you can test by yourself.
This is all Roslyn based now and works just fine with WinUI
SUMMARY
I've started an MAUI app, and i try to use the tool that i love from XF. I've try to use Mobile.BuildTools to generate Secrets part (appSettings with class generation), they work fine on Android, iOS and MacCatalyst. But does'nt work for WinUI.
DETAILS
I've try to figure out by myself, trying to update the props, targets and some task, but i've failed to make it work. The class it's generated in the obj folder, but the build failed with "class not found"
PLATFORMS