Content
Does .NET MAUI support WPF?
As we know we can create UWP applications in MAUI, Please let me know can we create WPF applications In .net MAUI, If there is any possibility please let us know what is the approach for that. [Goal clarification edited in from comment --RC] We…


.NET Maui How to convert a byte array image to a .NET maui image
Hi There seems to be some difference between the System.Drawing.Image and the Microsoft.Maui.Controls.Image, and I have failed implementing any of the solutions found online. I have a test page created with this Xaml code: <?xml…


.net Maui, viewModel alternative to OnAppearing
I notice that in .net MAUI OnAppearing doesn;t work. I need to find a way to open up a "DisplayAlert" as soon as the app appears and it must be triggered from the ViewModel. Thank you in advanced.


Is the conditional compilation option changed in VS 2022 17.5.2?
I used conditional compilation in my last project and it worked very well. Today I try to use it too, but the compiler doesn't recognise my condition that I added under Properties -> Build-> General For example, if I want to use my MAUI input as…


Move to .NET 7 from NET 6
Hi, I used Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.4.2. do i need to update VS ? 1.Does .NET 7 is stable and no change are going to be done ? 2.What I need to do in order to pass Maui project from .NET 6 to NET 7…


Maui android combined formatted text and regular text
Hello all. do I can combine formatted text and regular text in the same label. or do I can set a formatted text label and a regular text label to a label something like this: l1.text = l2.text + l3.formattedstring. (this only to explain what I want to…


using FileSystem.OpenAppPackageFileAsyn to open and play mp3 files stored on Google Drive
Hi I am using VS 2022 and C# to develop a MAUI App which needs to be deployed for IOS/Android and Windows. I would like to play audio files that are stored on Google Drive using audioPlayer. Can I use FileSystem.OpenAppPackageFileAsyn to open the file,…
How to get HWND handler from content page in MAUI
I have a HWND written by C++ and we hope added it to content page in MAUI, so how should we handle this case?
Error creating Maui app package: GraphQLDefRule rule is missing the "{ItemType}" property
I'm creating MAUI app using HotChocolate for GraphQL. Locally everything works ok (emulator, andriod device). Build run smoothly. But when I'm trying to create App archive, I'm getting error: "Failed to create app. The "GraphQLDefRule"…


Maui Archive Manager is empty after successful build
I'm trying to publish an iOS app (AdHoc) with Visual Studio 2022 (win 64bit, v17.5.1)). My solution is in maui, .net 7 and targets Android and iOS. I use a Mac mini as a buildserver with all updates installed, xcode is at 14.2. I use an iPod Touch 7th…


Maui android keyboard with arrows keys
Hello all. when my app running I want to that the pop-up keyboard will contain arrows keys. if that possible how I added that. Thank you very much.


Java.Lang.NoClassDefFoundError com.google.android.exoplayer2.source.ConcatenatingMediaSource
I use Xamarin MediaManager version 1.2.2 to play songs in my Android and iOS applications: https://github.com/Baseflow/XamarinMediaManager But the problem is that it is not working in every Android project. For example, it works in a new empty Android…


how to remove or hide indicator carouselview MAUI app
how can i remove or hide this? it appears when i swipe carousel. it happens on iOS
WeakReferenceMessenger.Default.Register() and WeakReferenceMessenger.Default.Unregister()
After upgrading to net8.0 preview, I was compelled to change the legacy Xamarin-based MessagingCenter.Subscribe() and MessagingCenter.Unsubscribe() methods to WeakReferenceMessenger.Default.Register() and WeakReferenceMessenger.Default.Unregister(),…
MAUI Programmatically set Start/Root page
Hi everybody. .net 7, VS 2022 latest, default maui application, mvvm toolkit, an half cup of coffee remaining. I am porting, as a POC, an Android Application to MAUI. I can successufully parse the deep link, and extract 'appmode' variable, storing…
How can I create an app icon on iOS?
I don't know how to create an app icon for my iOS application. I have tried to use Assets.xcassets but it's not working in Visual Studio for Mac 17.6 Preview (17.6 build 402) after adding Maui to my .csproj…


How to change screen orientation in Maui?
In Xamarin there was a class called DeviceInfo with a settable CurrentOrientation property. This class appears to not exist for Maui. I can't figure out how you can change the screen orientation and I can't find an example that can show how's it's…


Maui for android LTR RTL modes problem
This is a complete code that show my issue Hello when runnig this this app the swich to RTL mode its not set focus and not show caret cursor. but for LTR mode its work OK how I fix this Thank you. MainPage.xaml file ------------------ <?xml…


Resolving DataTemplate in resources by collection type
I'm trying to display a collection of items in a CollectionView . The items in the collection are of different types, but share the same base class: BaseThing:ObservableObject, ThingA:BaseThing and ThingB:BaseThing, and the ItemsSource for the…
MAUI - Switch content dinamically - MVVM
After a day of attempts, I resign, and hope someone can help me. .Net 7 - Maui - VS2022, latest version. I have several WPF applications and the following scenario is quite simple to implement, but I had no success in MAUI. I have a MainPage.xaml…

