how to publish aot in MAUI LIB?
to android and to iOS use PublishAot to publish dll of NativeAOT?
Access MAUI App Root Folder
Hello everyone, I am developing a MAUI app targeting Windows. When I am debugging the project through VS I can access the directory: AppDomain.CurrentDomain.BaseDirectory and copy data to and from this location. However after I sideloaded the app, I…
after updating,Microsoft.Maui.Controls - 8.0.0-rc.1.9171 to 8.0.93 , facing error at 'MauiUIApplicationDelegate' as CS0246: The type or namespace name ‘MauiUIApplicationDelegate’ could not be found (are you missing a using directive or an assembly refer
the code is : [Register(nameof(AppDelegate))] public class AppDelegate : MauiUIApplicationDelegate Any clue for this ? Thanks for your help Steps to Reproduce __once you update Microsoft.Maui.Controls and Microsoft.Maui.Controls.compatibility -…
splash screen not resized?
the splash screen is not resized <MauiSplashScreen Include="Resources\Splash\splash.png" Resize="True" BaseSize="750,1600"/> but it is still zoomed why? it is png not svg
Starting app
I guess that because .Net 9 define the main Page as deprecated, we get errors, now I cannot run my app errors Severity Code Description Project File Line Suppression State Details Error (active) CS1061 'App' does not contain a definition for…
Selected MenuFlyoutItem is transparent
Hi, In continue of https://video2.skills-academy.com/en-us/answers/questions/2079247/how-to-change-the-bacground-and-text-color-of-menu there is another issue with selected MenuFlyoutItem is transparent See : How is can be fixed ?
How to fix EXC_CRASH (SIGABRT) when publishing MAUI to macbook
I'm developing a .NET 8 MAUI app targeting both net8.0-android and net8.0-ios. The app runs successfully on Android and iOS simulators and installs/runs fine on an iPhone through TestFlight. However, it crashes immediately upon opening when I run it on a…
Is there a sample MAUI application to call c++ libarary
I have a cross-platform library written with C++, I use this library to create model and display it with OpenGL. Now I'd like to choose MAUI to create a desktop application and call above library to complete interactions. Now I need a sample for…
How to fix "The type initializer for 'WinRT.ActivationFactory1' threw an exception."
Hi there, I'm developing a mobile application with Net.MAUI, using SQLite db, EntityFrameworkCore, Net8, and I'm not able to create Migrations to manage db schema, using the following command in the Package Manager Console: Add-Migration INIT -o…
not work when publish aot in dll?
I create MAUI DLL LIB. but I can still check the code in dnSpy why?
Issue with CustomScrollViewRenderer in MAUI Migration – ScrollView Content Not Displaying
Hello, I’m currently migrating a Xamarin.Forms application to .NET MAUI, and I’m encountering an issue with a CustomScrollRenderer that was previously working fine in Xamarin.Forms. In the Xamarin project, I used a custom renderer for ScrollViewRenderer,…
dependecy injection
For some reason, I am getting a cast error when registering a view Model and I don't know what is going on https://reccloud.com/u/44yiurs public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); builder …
.NET android memory leak issues
In our Android app, We are facing memory leak issue. so we tried with simple Lable. But issue remains same. Please find below details for leak information. ////////////////////////////////////////////////////////// ┬─── │ GC Root: Global variable in…
Custom fonts not working when uploading Maui Android project to Play Store
I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…
Using Xamarin.Google.UserMessagingPlatform with MAUI for presenting a GDPR consent message
I am trying to present a GDPR consent message in a MAUI app using the Xamarin.Google.UserMessagingPlatform NuGet package. I'm targeting Android 34 on .NET 8. I have used both this: https://stackoverflow.com/a/71299843/7360423 and this:…
How to fix Cannot create an IOS archive 'APPNAME'. Process cannot be executed on XMA server. arch exited with code 1 actool exited with code 1
Hello, this is my first post, so I apologize if I am missing any information necessary to replicate or help fix this issue. If I am please leave me a comment and I will be sure to add whatever is necessary. So, I have a .NET MAUI iOS and Android app that…
Issue with Xamarin.Android.Google.BillingClient - Returning Empty Product List in .NET 8 MAUI
Hello, I am currently using .NET 8 with Xamarin.Android.Google.BillingClient version 7.1.1 in my MAUI application. When attempting to retrieve product details from the Google Play Store, the BillingClient returns a successful response…
ORIENTATION IN NET MAUI
I am novice to NET MAUI and tried the following: <StackLayout x:Name="stack"> <VisualStateManager.VisualStateGroups> <VisualStateGroupList> <VisualStateGroup> …
Target Framework do not appear when trying migrating from xamarin to maui using upgrade assistant
i'm using visual studio 2022 17.9.2, when i click ugrade on the portable file, it shown "there are no target framework found to which project could be upgraded" but when i click on the droid file, it does appear the framework selection …
'No Matching Profile Found' While Selecting Distribution Profile For MAUI iOS Application In MAUI In Visual Studio MAC
Visiting developer portal of apple Created New App Chosed iOS platform Entered name, language, bundle ID (Same as in the source code), SKU with full access Save Added New Device Go to certificates, identifiers & profiles Chosen iOS…