4,231 questions with Developer technologies | .NET | .NET MAUI tags
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
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
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
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
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
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
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
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
.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
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
.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
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
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
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
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
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
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
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
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
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 { …