3,607 questions with .NET MAUI tags

Sort by: Updated
1 answer

how to publish aot in MAUI LIB?

to android and to iOS use PublishAot to publish dll of NativeAOT?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-12T07:39:14.8866667+00:00
mc 4,656 Reputation points
commented 2024-11-13T17:24:42.1366667+00:00
Bruce (SqlWork.com) 66,866 Reputation points
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-13T01:28:13.2433333+00:00
Abir Hadi 0 Reputation points
commented 2024-11-13T15:49:26.4133333+00:00
Abir Hadi 0 Reputation points
2 answers

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 -…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-13T03:38:29.0666667+00:00
Ashish Gupta 0 Reputation points
answered 2024-11-13T15:20:20.58+00:00
Edgar Rafael Garcia 0 Reputation points
1 answer

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

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-13T02:03:57.41+00:00
mc 4,656 Reputation points
answered 2024-11-13T07:55:38.43+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,546 Reputation points Microsoft Vendor
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-13T05:20:41.87+00:00
Eduardo Gomez Romero 865 Reputation points
answered 2024-11-13T07:26:32.8466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,171 Reputation points Microsoft Vendor
1 answer

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 ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-08T07:08:55.5833333+00:00
Dani_S 3,786 Reputation points
commented 2024-11-13T05:58:31.5666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,551 Reputation points Microsoft Vendor
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-12T21:31:24.7133333+00:00
GUIDO JUNIOR 0 Reputation points
answered 2024-11-12T22:24:31.5833333+00:00
Bruce (SqlWork.com) 66,866 Reputation points
1 answer One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,764 questions
asked 2022-06-13T02:36:40.78+00:00
Yang Yang 46 Reputation points
edited a comment 2024-11-12T21:56:09.52+00:00
Brian Johnson 0 Reputation points
2 answers

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
752 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-09-20T10:38:21.5566667+00:00
Ubaldo Zambelli 0 Reputation points
answered 2024-11-12T17:16:30.3733333+00:00
HairyIce 0 Reputation points
2 answers

not work when publish aot in dll?

I create MAUI DLL LIB. but I can still check the code in dnSpy why?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-12T04:25:26.3133333+00:00
mc 4,656 Reputation points
edited an answer 2024-11-12T17:10:09.88+00:00
Bruce (SqlWork.com) 66,866 Reputation points
1 answer

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,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-12T05:34:58.3633333+00:00
KarPreet 20 Reputation points
answered 2024-11-12T08:00:01.1233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,171 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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 MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-11T11:43:53.35+00:00
Eduardo Gomez Romero 865 Reputation points
accepted 2024-11-12T06:45:04.8833333+00:00
Eduardo Gomez Romero 865 Reputation points
0 answers

.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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,926 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-09T13:02:38.1966667+00:00
Vaka Gopi 0 Reputation points
edited the question 2024-11-12T06:28:14.8566667+00:00
Vaka Gopi 0 Reputation points
4 answers

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,029 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 25 Reputation points
commented 2024-11-12T05:47:04.1266667+00:00
Soran Sobhani Rad 0 Reputation points
1 answer

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:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,029 questions
asked 2024-07-25T08:45:20.6933333+00:00
Costas Athan 46 Reputation points
commented 2024-11-12T02:07:40.2966667+00:00
City Wang 0 Reputation points
1 answer

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,203 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-11T19:16:05.55+00:00
Danny Pascual 0 Reputation points
answered 2024-11-11T21:54:17.31+00:00
Bruce (SqlWork.com) 66,866 Reputation points
2 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,926 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-08T04:30:52.0333333+00:00
KarPreet 20 Reputation points
answered 2024-11-11T09:43:39.4066667+00:00
KarPreet 20 Reputation points
1 answer One of the answers was accepted by the question author.

ORIENTATION IN NET MAUI

I am novice to NET MAUI and tried the following: <StackLayout x:Name="stack"> <VisualStateManager.VisualStateGroups> <VisualStateGroupList> <VisualStateGroup> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-09T10:44:42.48+00:00
Giorgio Sfiligoi 226 Reputation points
commented 2024-11-11T09:37:35.1066667+00:00
Giorgio Sfiligoi 226 Reputation points
0 answers

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 …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,926 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,203 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-02-29T02:27:50.4133333+00:00
AGUSTINUS DAVID 5 Reputation points
commented 2024-11-11T09:29:12.6466667+00:00
Emilio Molina 0 Reputation points
1 answer One of the answers was accepted by the question author.

'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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,926 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,203 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,607 questions
asked 2024-11-05T13:39:27.0066667+00:00
Smit Rathod 20 Reputation points
accepted 2024-11-11T06:52:09.58+00:00
Smit Rathod 20 Reputation points