2,845 questions with .NET MAUI tags

Sort by: Updated
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.
696 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 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) 55,196 Reputation points
1 answer

.NET MAUI Application is not supported on Visual Studio Mac

When I tried to run the MAUI project on Visual Studio Community 2022 for Mac, I faced the error below. Error: Could not find any available provisioning profiles for ApplicationName on iOS. Then I fixed the above error by deleting the .vs, obj, and bin…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,594 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-20T11:26:10.47+00:00
Aleena George 20 Reputation points
answered 2024-04-20T16:49:22.4366667+00:00
Bruce (SqlWork.com) 55,196 Reputation points
2 answers

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,845 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 185 Reputation points
answered 2024-04-19T21:10:28.0533333+00:00
Bruce (SqlWork.com) 55,196 Reputation points
0 answers

.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?

so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 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,208 questions
asked 2024-04-19T20:56:32.3766667+00:00
Min T 41 Reputation points
0 answers

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,845 questions
asked 2024-03-28T04:42:41.8566667+00:00
MKinOZ 11 Reputation points
commented 2024-04-19T16:42:46.47+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,845 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

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,351 Reputation points
commented 2024-04-19T13:28:43.8033333+00:00
Lloyd Sheen 1,351 Reputation points
0 answers

how to change the sdk and emulator path?

the android sdk and emulator is all in C:\\ how to change the path? one of the emulator path is C:\Users\ljzj\.android\avd\pixel_5_-_api_30.avd how to change it to other path

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-19T13:11:37.76+00:00
mc 3,641 Reputation points
0 answers

How can I programmatically simulate a button click in a MAUI application?

How can I programmatically simulate a button click in a MAUI application?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-19T10:30:11.5766667+00:00
Sarfaraz Sable 20 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.
260 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,347 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 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
0 answers

Empty space between elements .NET MAUI

The entire page is a grid. I'm trying to position a child grid on top of the parent grid. This works on Android. On Apple up to iPhone 14 too. On iPhones 14 and 15, the space between the parent and child grids is displayed. <?xml…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 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,208 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
762 questions
asked 2024-04-19T07:41:18.8766667+00:00
Влад Тигинян 20 Reputation points
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,845 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
edited a comment 2024-04-19T07:13:22.07+00:00
Pereira, Bruno 0 Reputation points
2 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,347 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,706 Reputation points
commented 2024-04-19T06:23:08.9733333+00:00
דני שטרית 2,706 Reputation points
0 answers

How to disable/Remove the hamburger menu icon in Maui - .Net 8

I had added flyout in my maui project (not shell). By default I can able to see the hamburger menu icon in Window. I want to remove that icon. and want add a custom icon. Thanks, Vaibhav Methuku.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-19T05:22:22.3566667+00:00
Vaibhav Methuku 60 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,845 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,208 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,046 Reputation points Microsoft Vendor
0 answers

[MAUI] How to set the icon of a new window in MAUI? Including Android and Windows platforms

I need to open a new window on my Android device and set its icon, similar to a WeChat mini program, but I haven't seen any API documentation related to it in the official documentation that allows me to set its icon, so I want to ask if this is possible…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,347 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-18T01:43:45.9833333+00:00
studio XFE 5 Reputation points
commented 2024-04-19T03:17:43.4033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,176 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,845 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,845 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,845 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,845 questions
asked 2024-04-17T11:50:03.91+00:00
דני שטרית 2,706 Reputation points
accepted 2024-04-18T08:20:30.7866667+00:00
דני שטרית 2,706 Reputation points