4,231 questions with Developer technologies | .NET | .NET MAUI tags

Sort by: Updated
2 answers

SourceGen adding getting build error

Hello, I am getting the following errors after adding the below tags to my .csproj file: <MauiXamlInflator>SourceGen</MauiXamlInflator> <!-- Optional…

Developer technologies | .NET | .NET MAUI
asked 2026-02-18T05:48:47.8366667+00:00
Bhuwan 1,181 Reputation points
commented 2026-02-19T03:57:45.0433333+00:00
Jack Dang (WICLOUD CORPORATION) 12,085 Reputation points Microsoft External Staff Moderator
1 answer

Latest Windows 11 update has broken my MAUI .Net 8 projects

Nine days ago on Oct 14th I was able to successfully and consistently build my MAUI .Net 8 projects using Visual Studio Community. Microsoft installed an update on Oct 15th. Since then, I have not been able to build my application on any platform (iOS,…

Developer technologies | .NET | .NET MAUI
asked 2025-10-24T02:25:50.27+00:00
Jeff Rush 21 Reputation points
commented 2026-02-18T17:31:58.2166667+00:00
muhammad qayyum 0 Reputation points
2 answers One of the answers was accepted by the question author.

enable xaml source compilation breaks

I do not know why I cannot post, it tells me I am violating code of conduct Everything in my .NET MAUI app works correctly until I enable: <MauiEnableXamlCBindingWithSourceCompilation <tabView:SfTabView IndicatorBackground="{x:Binding…

Developer technologies | .NET | .NET MAUI
asked 2026-02-16T13:18:43.6566667+00:00
Eduardo Gomez 4,296 Reputation points
accepted 2026-02-18T09:11:42.12+00:00
Eduardo Gomez 4,296 Reputation points
2 answers One of the answers was accepted by the question author.

Free MySQL plugin for .NET MAUI.

Is there any free MySQL plugin for .NET MAUI? I found one but it cost, dotConnect for MySQL.

Developer technologies | .NET | .NET MAUI
asked 2026-02-17T16:53:01.4133333+00:00
Ken Ekholm 231 Reputation points
commented 2026-02-17T20:56:09.7466667+00:00
Ken Ekholm 231 Reputation points
2 answers

Flyout is overlapping with Status bar

Flyout is overlapping with the status bar on the top, after upgrading that to MAUI 10. Please find the attachment for reference Regards, Vaibhav Methuku.

Developer technologies | .NET | .NET MAUI
asked 2026-02-05T08:05:07.19+00:00
Vaibhav Methuku (ext) 0 Reputation points
commented 2026-02-17T03:15:58.3633333+00:00
Jack Dang (WICLOUD CORPORATION) 12,085 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

how do I fix this watchdog error

trying to debug on iOS with a Mac machine, I get this error in my logs. I saw a thread that said that this was typical for maui versions that are beyond the scope 0f 8.0 and 9.0.120 so I adjusted to the latter, I can debug on the eimulator but only with…

Developer technologies | .NET | .NET MAUI
asked 2026-02-10T00:46:30.1666667+00:00
jeremy tucker 50 Reputation points
commented 2026-02-13T19:51:16.3633333+00:00
jeremy tucker 50 Reputation points
2 answers

How to implement iOS Local Push Connectivity for Xamarin / MAUI ?

I wanna use Local Push Connectivity on a Xamarin.iOS / MAUI app to send notifcation throught wifi network. I dont use apn's because my app will be used in restricted networks. I have no problem on the Android side but the iOS give me hard times. I…

Developer technologies | .NET | .NET MAUI
asked 2024-08-09T09:35:05.2933333+00:00
La Tristouille 5 Reputation points
answered 2026-02-13T17:40:45.7566667+00:00
Baiborodov, Nikita 0 Reputation points
2 answers One of the answers was accepted by the question author.

Disable title bars in MacOs

I have this method static void MaximizeWindows() { if(Application.Current?.Windows is not { Count: > 0 } windows) return; if(windows[0].Handler?.PlatformView is not { } platformWindow) return; var hwnd =…

Developer technologies | .NET | .NET MAUI
asked 2026-02-10T20:29:59.1566667+00:00
Eduardo Gomez 4,296 Reputation points
accepted 2026-02-13T12:10:10.31+00:00
Eduardo Gomez 4,296 Reputation points
2 answers

.NET MAUI App: Stack canary protection not enabled

We developed a .NET MAUI application, and our security team reported issue: “Stack canary not enabled.” We attempted to enable stack protection by adding flags such as -fstack-protector-strong, but the scanner result did not change. What is the…

Developer technologies | .NET | .NET MAUI
asked 2026-02-13T07:47:09.4733333+00:00
Srikanth 0 Reputation points
edited an answer 2026-02-13T10:30:51.8333333+00:00
Michael Le (WICLOUD CORPORATION) 10,840 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Should I add screenshots for Chromebook and Android XR on Google Play Console?

I don´t know if I should add screenshots for my game on Google Play Console. I only want to support devices with a touchscreen and I don´t have Android XR headset/glasses or a Chromebook. Is it not necessary to add screenshots for Chromebook and Android…

Developer technologies | .NET | .NET MAUI
asked 2026-01-15T21:04:50.1033333+00:00
Kim Strasser 2,126 Reputation points
accepted 2026-02-13T10:10:38.7733333+00:00
Kim Strasser 2,126 Reputation points
4 answers

.NET MAUI doesn't fullfill entire screen on iOS 18, but is fine on Windows/Android/IOS 16

Hello .NET MAUI doesn't fill entire screen on iOS 18 (see picture of real mobile behaviour) you can recognize MAUI rectange area (background color of Webkit webview controll is full filled on the screen, but all XAMLs like AbsoluteLayout StackLayouts...…

Developer technologies | .NET | .NET MAUI
asked 2025-05-22T08:57:51.76+00:00
Wheelstring 230 Reputation points
commented 2026-02-13T03:10:27.93+00:00
Michael Le (WICLOUD CORPORATION) 10,840 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

java.exe error JAVA0000: Type androidx.compose.runtime.Immutable is defined multiple times

My Android project doesn´t build after I updated the MAUI workloads to version 10.0.101.1 and updated many NuGet packages in Visual Studio Community 2026 Version: 18.2.0:> 1>MSBUILD : java.exe error JAVA0000: Error in C:\Users\Kim…

Developer technologies | .NET | .NET MAUI
asked 2026-01-15T12:39:49.8066667+00:00
Kim Strasser 2,126 Reputation points
edited a comment 2026-02-12T15:56:21.59+00:00
Apoorva Dixit 1 Reputation point
1 answer One of the answers was accepted by the question author.

Platform Theme not changing when switching UserAppTheme

Hello, I wanted to dynamically switch the theme in my app (https://learn.microsoft.com/en-us/dotnet/maui/user-interface/system-theme-changes?view=net-maui-10.0#set-the-current-user-theme), but realized that the platform-specific UI still has the theme…

Developer technologies | .NET | .NET MAUI
asked 2025-12-17T17:40:47.0233333+00:00
Arthur P 90 Reputation points
commented 2026-02-11T14:04:56.23+00:00
Vova Savchenko 0 Reputation points
1 answer One of the answers was accepted by the question author.

The SDK Microsoft.NET.sdk specified could not be found.

I get this error when I try to create a new project in Visual Studio Community 2022 (64-bit) 17.14.19: The SDK Microsoft.NET.sdk specified could not be found. In addition, when I try to open an existing solution in VS Community 2022 then my iOS and…

Developer technologies | .NET | .NET MAUI
asked 2025-11-10T22:38:41.35+00:00
Kim Strasser 2,126 Reputation points
commented 2026-02-10T21:54:59.9566667+00:00
jpg150 0 Reputation points
2 answers

Issue with API calls; initially the API is called with blank push id and later it will call with exact push id

I have implemented push notification in my project using Plugin.Firebase package. My problem is on saving the FCM id to database API. I am generating the FCM token on login page constructor and saving it to preferences like below: public…

Developer technologies | .NET | .NET MAUI
asked 2026-01-27T10:54:52.25+00:00
Sreenivasan, Sreejith 580 Reputation points
commented 2026-02-10T07:05:49.2866667+00:00
Jack Dang (WICLOUD CORPORATION) 12,085 Reputation points Microsoft External Staff Moderator
2 answers

Excluding shell and continuing the navigation with content page as in maui same as using the traditional method in xamarin

I am attempting to migrate a Xamarin cross-platform app to MAUI. I am utilizing shell as the Navigation root page for the app. The Xamarin application employs a conventional approach for navigation by establishing a flyout page, which is then linked to…

Developer technologies | .NET | .NET MAUI
asked 2026-01-23T09:14:17.2666667+00:00
Akshay Jayam 0 Reputation points
commented 2026-02-09T08:19:18.5433333+00:00
Jack Dang (WICLOUD CORPORATION) 12,085 Reputation points Microsoft External Staff Moderator
3 answers

Splash screen hangs on iPhone iOS 26

Is this a common issue for anyone? I have a published app that has worked across many iPhones in testing. As of 2/4/26 for some reason, users have reported that the splash screen hangs and is not dismissed. I have tested it on my simulators and…

Developer technologies | .NET | .NET MAUI
asked 2026-02-06T18:09:46.63+00:00
Samuel Riesterer 5 Reputation points
answered 2026-02-09T03:20:18.28+00:00
Jack Dang (WICLOUD CORPORATION) 12,085 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

how to get the max bytes I can send in .net maui in BLE?

I am using .net maui and in both android and ios how to get the max bytes I can send when I am connected to the device? in BLE?

Developer technologies | .NET | .NET MAUI
asked 2026-02-05T06:50:16.8733333+00:00
mc 6,701 Reputation points
accepted 2026-02-08T09:34:14.5366667+00:00
mc 6,701 Reputation points
2 answers One of the answers was accepted by the question author.

Selection and copy is working in editor(in read-only state) in .net maui

I am using editor of .net Maui. Even when I set IsReadOnly true I am able to select text and copy the text. How to disable selection in windows?

Developer technologies | .NET | .NET MAUI
asked 2023-10-30T11:46:45.0566667+00:00
Vijayadharshini M 20 Reputation points
answered 2026-02-08T03:22:30.28+00:00
Jonas Miguel 0 Reputation points
4 answers One of the answers was accepted by the question author.

My app freeze when I am trying to select a language

This is my app viewModel namespace TextileSystem.ViewModels; public partial class MainPageViewModel : ObservableObject { private readonly ILocalizationResourceManager _loc; [ObservableProperty] public partial bool IsConfigurationsOpen { …

Developer technologies | .NET | .NET MAUI
asked 2026-01-27T20:12:44.33+00:00
Eduardo Gomez 4,296 Reputation points
recommended 2026-02-06T21:42:10.83+00:00
Alexandra Tanasescu 0 Reputation points Moderator