Replies: 6 comments
-
As I understand it, the "one project thing" is powers by multi-targeting. So you should be able to do the same thing now, but instead of having it in a separate project you will add conditions to it. |
Beta Was this translation helpful? Give feedback.
-
@BurkusCat yes, you’ll still be able to do this! We are still working through the scenarios we need to address for Single Project, and this is a great one for us to keep in mind. .NET MAUI will still work with multi-project solutions as it does today. If anyone else has similar usage today, I would love to see your examples too! I’ll leave this open for discussion. |
Beta Was this translation helpful? Give feedback.
-
Please make some way to avoid pre-processor directives. Having |
Beta Was this translation helpful? Give feedback.
-
I answered a similar question on SO about this. Not quite the "stick anything in the XAML", but allows for custom controls to be added: https://stackoverflow.com/a/73514661/1117914 |
Beta Was this translation helpful? Give feedback.
-
The way it was made in Xamarin-xaml was fantastic: Hope to see the same elegancy in MAUI some day |
Beta Was this translation helpful? Give feedback.
-
I am waiting for this too. Although Windows operating system is dominant in enterprise level application development, my customers use Android and iOS devices in the factory and for their mobile personnel in the field. As a single developer, I am doing research to solve everything with MAUI. I want to move my WinUI project to MAUI. |
Beta Was this translation helpful? Give feedback.
-
With the new project structure, I was curious if native views like this: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/native-views/xaml will be supported.
I currently have embedded the XAML + C# directly from the Windows Community Toolkit for the InfiniteCanvas control. I have done this so I can heavily customise it; I am not just using the UWP NuGet package.
In my shared project, I have a View.
In my UWP project I have a custom renderer that uses the native UWP control for that View (Android and iOS just have renderers that are placeholders). In my UWP specific
App.xaml
I have had to include the XAML for the control:In videos, I didn't see any UWP
App.xaml
or android manifest etc. Could something like this be accomplished in MAUI or will this functionality be dropped?Beta Was this translation helpful? Give feedback.
All reactions