2,868 questions with .NET MAUI tags

Sort by: Updated
1 answer

How to contribute to MAUI Development/Bug fixing

Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
commented 2024-04-23T02:11:47.63+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,316 Reputation points Microsoft Vendor
0 answers

System.NullReferenceException: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object. at Mono.Debugging.Soft.SoftDebuggerAdaptor.GetTypeName(EvaluationContext ctx, Object type) in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-22T06:51:46.9233333+00:00
Ashutosh Mehere 0 Reputation points
commented 2024-04-23T01:16:41.4233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
2 answers

Transparent flyout items

I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 205 Reputation points
commented 2024-04-22T20:20:59.74+00:00
Eduardo Gomez Romero 205 Reputation points
2 answers One of the answers was accepted by the question author.

Mac question

I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 205 Reputation points
accepted 2024-04-22T20:17:30.2166667+00:00
Eduardo Gomez Romero 205 Reputation points
2 answers One of the answers was accepted by the question author.

How to update entire MAUI workload to latest? (8.0.20)

How do I update my entire .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-16T09:48:41.18+00:00
Mikkel Bech 30 Reputation points
accepted 2024-04-22T07:53:05.24+00:00
Mikkel Bech 30 Reputation points
0 answers

Selected tab icon not visible in tabbed page

Issues- Selected tab(Resources) icon shows blank, icon should be visible( ref screenshots) Previously selected tab(Details) icon color changes to black its should be white (ref screenshots) Currently using below code for custom handler public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-01T08:33:04.75+00:00
Thombre, Ashish 105 Reputation points
commented 2024-04-22T05:51:31.3333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,571 Reputation points Microsoft Vendor
1 answer

Seeking Alternative to Xamarin.Forms.Mocks for MAUI

I'm currently working on a project using MAUI and need a mocking framework similar to Xamarin.Forms.Mocks for Xamarin.Forms. However, I'm unsure if there's an equivalent library specifically designed for MAUI. Could anyone recommend an alternative or…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2023-10-23T07:16:47.61+00:00
Mahesh Amin 0 Reputation points
commented 2024-04-22T05:07:35.74+00:00
Thomas Galliker 0 Reputation points
1 answer

Implementing Vertical Design for Android and iOS, Horizontal Layout for Windows in MAUI: Guidance Needed

Is it possible to implement a vertical design for Android and iOS, while ensuring a horizontal layout for Windows in a MAUI application? If so, could you guide me on how to achieve this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-03-29T09:48:02.8933333+00:00
Sarfaraz Sable 20 Reputation points
commented 2024-04-22T03:18:00.7233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
1 answer

Maui .Net 8 XCode 15.1 and 15.2 NativeAOT Error in Testflight

Hello, I have an Maui app built with XCode 15.2 and .Net 8. I am using Microsoft.EntityFrameworkCore.Sql V8.0.4 When I install it on my iPad with test flight I get: Model binding is not supported when publishing with NativeAOT. Use a compiled model. I…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-19T16:55:14.02+00:00
Grant Schaffer 0 Reputation points
answered 2024-04-21T15:11:22.8666667+00:00
Bruce (SqlWork.com) 56,021 Reputation points
1 answer

Fixing issues with AOT compilation

Hello! I have a .NET MAUI 8 app that I target for Android, WinUI and iOS. I'm using EF Core (context is in separate project) and SQLite DB that gets created on app launch. The issue is with the iOS version and I'm suspecting the issues is with AOT…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-03-28T04:42:41.8566667+00:00
MKinOZ 31 Reputation points
answered 2024-04-20T21:09:12.8766667+00:00
Grant Schaffer 0 Reputation points
1 answer One of the answers was accepted by the question author.

Screen Orientation in .NET Maui Application

I am looking to force a certain page to be displayed in landscape mode only. Is there a way to do this in shared code (I am only producing for iOS and Android, no Windows or MacCatalyst needed).

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-18T14:53:49.4766667+00:00
Isspro-eng 40 Reputation points
accepted 2024-04-19T13:50:48.9133333+00:00
Isspro-eng 40 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin.Azure.NotificationHubs.iOS migration .net8

As a part of xamarin migration to .net8? I need to migrate integration with Microsoft Notification hub. THe libs that I was using are Xamarin.Azure.NotificationHubs.iOS for ios and Xamarin.Azure.NotificationHubs.Android for android. According to the…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
262 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,374 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-18T12:49:16.5466667+00:00
Oleksandr Gridin 20 Reputation points
accepted 2024-04-19T08:15:52.59+00:00
Oleksandr Gridin 20 Reputation points
1 answer

How to implement "When the maui project is executed and compiled to generate an EXE, how to place all the dependent dll files of the EXE in the libs directory under the EXE directory"

I am a beginner of MAUI. I developed a simple Windows project using maui. I now encounter a problem. The problem is that the compilation result of this project will copy all the dependent DLLs of the EXE to the same directory of the EXE. These DLLs…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 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.
10,245 questions
asked 2024-04-16T07:51:34.15+00:00
晅晢 廖 0 Reputation points
commented 2024-04-19T03:17:55.14+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to create borderless entry in iOS- maui .Net 8

I want to create a border less entry and picker in maui for iOS Net8 Thanks Vaibhav Methuku

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-01T02:51:09.47+00:00
Vaibhav Methuku 60 Reputation points
accepted 2024-04-18T10:39:48.9966667+00:00
Vaibhav Methuku 60 Reputation points
1 answer One of the answers was accepted by the question author.

How to change color of item in a list on Mouse hover.?

I'm having a list of item, Whenever any item is selected in that particular list changing the particular color of the item using a trigger. please find the below code. <DataTemplate x:Key="SiteTemplate"> <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-01T08:23:09.02+00:00
Vaibhav Methuku 60 Reputation points
accepted 2024-04-18T10:39:27.8+00:00
Vaibhav Methuku 60 Reputation points
2 answers One of the answers was accepted by the question author.

How to create a alert in MAUI - Platform specific - Android.

Hello Team, I want to reuse the existing alert which is created in Xamarin-Android, When I'm trying to access that. Facing this exception. Please find the below code: Device.BeginInvokeOnMainThread(() => { AlertDialog.Builder dialog = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-17T11:42:25.1566667+00:00
Vaibhav Methuku 60 Reputation points
accepted 2024-04-18T10:38:34.1433333+00:00
Vaibhav Methuku 60 Reputation points
1 answer One of the answers was accepted by the question author.

Round in the navigation of flylou

Hi, In https://github.com/dotnet/maui/issues/21576 there is attached sample. Why there is round in the navigation of flylout ( See attched picture) and how is can be fixed ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-17T11:50:03.91+00:00
Dani_S 2,726 Reputation points
accepted 2024-04-18T08:20:30.7866667+00:00
Dani_S 2,726 Reputation points
1 answer One of the answers was accepted by the question author.

ContentView as CollectionView's ItemTemplate with custom Command

Hi, I have a CollectionView that have as ItemTemplate a ContentView. I need to pass at the XAML of the ContentView a custom Command, so I have created a BindableProperty but it remains always null. public ICommand ApriCommand { get { return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-15T14:45:48.2866667+00:00
Matteo Pozzato 116 Reputation points
accepted 2024-04-18T08:14:17.1233333+00:00
Matteo Pozzato 116 Reputation points
1 answer

can not find path for sqlite db in Maui app

i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,605 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 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.
10,245 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
939 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
329 questions
asked 2024-04-17T07:00:39.2033333+00:00
amr yakout 40 Reputation points
answered 2024-04-18T07:50:38.5666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,471 Reputation points Microsoft Vendor
0 answers

how to save in other storage folder in android?

I am using .net MAUI and want to save the sqlite db to other folder. I know I can get the FileSystem.AppDataDirectory and save the db but it will be deleted when I remove the APP. how to keep the db when I remove the APP and when I reinstall it I can use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,868 questions
asked 2024-04-14T15:56:15.6833333+00:00
mc 3,681 Reputation points
commented 2024-04-18T06:54:56.05+00:00
Gyan yog breath 0 Reputation points