-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mauihybrid solution with all plataforms even without maui #12
Comments
You have to create separate projects for Windows and browser projects. It's simply a limitation of the SDK. |
I dont want an sigle project solution. I want an solution like avalonia does today, with one project in net7 and other projects one per plataform, but with conditional to use maui hibrid only in android and ios projects and conditional for mai project to only use maui wen target is android and ios but not for windows or browser. |
This worked for me without any other solutions or projects change shared project and add these sections with conditions to use maui only if target is IOS or android `
` |
THIS WORKED LIKE A SHARM !!!!!! with this shared project csproject file you also have Browser project compiling in avalonia maui hybrid solution also note that we are using nuget.config with avalonia nightly builds (see avalonia docs) to get avalonia 11.0.999 and in browser we are using avalonia 11.0.6 with browser target, because avalonia nightly are geting erros in browser project...
|
Could someone please post the instructions so that a solution with Avalonia Maui Hybrid has Windows and browser projects without Maui Hybrid (use Maui would have to be conditional in the main project, for example) etc etc.
This would allow where Maui is not supported the programmer to create their own solutions.
Thank you very much in advance
The text was updated successfully, but these errors were encountered: