9,199 questions
-1
votes
0
answers
33
views
.NET 10 MAUI build for ios on Github
I'm trying to get .NET 10 Maui app to build and publish to testflight. I've been trying for hours now with AI. But it can't figure out how to make it work. This is my yml now after many many many ...
0
votes
2
answers
30
views
TouchBehavior doesn't work correctly on custom control
I've built a custom button control, using ContentView as the base. I'm trying to make Press work correctly but finding it impossible. I'm also trying to use VisualStates here. The behavior I'm getting ...
0
votes
1
answer
97
views
Retrieve navigation parameters in the Shell class
I've read that the navigation parameters (such as Dictionary\<string, object\>) passed during a Shell.Current.GoToAsync(page, params) will keep existing until the source page gets flushed. I ...
-4
votes
0
answers
99
views
SQLite Error 10: 'disk I/O error' during EF Core migration in .NET MAUI (MacCatalyst) under low resource conditions [closed]
everyone!
The Problem: Some users are experiencing a crash loop during the application startup. The logs indicate a Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 10: 'disk I/O error'...
1
vote
1
answer
81
views
MSAL .NET MAUI iOS + Azure B2C: sign-in stuck / authentication_canceled on TestFlight but works in debug
I am building a .NET MAUI mobile app that uses MSAL.NET to authenticate with Azure AD B2C.
On iOS TestFlight builds, when I call AcquireTokenInteractive(), the system browser (...
Tooling
0
votes
0
replies
72
views
Azure App Insights Vs Others for .NET MAUI Mobile App
Our mobile app is built using .NET MAUI. We used to use VS AppCenter for our mobile app distribution and also for its Analytics & Diagnostics. Since it is retired, we are now pushing it directly ...
0
votes
0
answers
87
views
Deep link error OnCreate for Android in NET9 MAUI
In my NET9 MAUI application, I'm trying to add the deeplink functionality. In the App.xaml.cs I added this code
protected override Window CreateWindow(IActivationState activationState)
{
var ...
1
vote
0
answers
96
views
.NET MAUI project gets stuck on "Executing code cleanup" for minutes or indefinitely after adding Dependency Injection services
I'm working on a .NET MAUI project and I'm experiencing a severe performance/issue where Visual Studio gets stuck on "Executing code cleanup" for 2–10 minutes, or sometimes hangs forever, ...
Advice
0
votes
2
replies
65
views
Handle many broadcast receivers
Can I do something like that to achieve working with, here, for example, 3 different Android devices?
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = ...
0
votes
0
answers
55
views
IOS MAUI .net "9.0" System.Data.Sqlite does not work and give Exception = e_Sqlite3
SQLite in MAUI App not working on iOS.
I need to use System.Data.Sqlite for low level db operations. But I was unable to Open connection on IOS simulator.
I tried every combination of SqlitePCLRaw ...
0
votes
1
answer
94
views
Unable to find route .NET Maui
I have a flyout menu defined like this in XAML:
<FlyoutItem Title="Portfolio Summary" IsVisible="{Binding ShowUserMenuItems}">
<ShellContent ContentTemplate="{...
0
votes
0
answers
62
views
Persistent NullReferenceException on List Add (.Items.Add) after PlayFab Login
I am transitioning a local-storage .NET MAUI Quest tracker into a gamified application using a Server-Authoritative PlayFab backend. The app successfully launches, but it crashes with a System....
0
votes
2
answers
114
views
GridItemsLayout item doesn't fill available space
I have an issue with GridItemsLayout and VerticalOptions="Fill" the element in DataTemplate doesn't fill the whole available space. Only if I set HeightRequest="60" the element has ...
1
vote
3
answers
84
views
Closing the app and then reopening still uses the same instance of Window in MAUI
When I run the app and then navigate to another page then go to task switcher, flick the app to close and then re open, I can see that it is still using the same instance of the window. The app reopen ...
0
votes
1
answer
73
views
Visual Studio 2026 .net Maui, annoying menu popup in Android Emulator Pixel v.7
I recently installed VS 2026 and noticed that a menu pops up when I run the Android Emulator Pixel 7. I don't get this when I use Emulator Pixel-5. This is very annoying because it pops up in the ...
-4
votes
1
answer
120
views
.NET Maui app in infinite loop due to [ObservableProperty]
In my app I convert Celsius to Fahrenheit and vice versa. Because I am using [ObservableProperty] when I update the one property, the other wants to update as well, and the program goes into an ...
0
votes
2
answers
133
views
Bindable layout not binding in .NET MAUI
I'm trying to add UI elements, written in C# code, to not copy and paste them multiple times in XAML file. I'm using BindableLayout in my XAML file. The problem is that I'm not seeing any element ...
1
vote
1
answer
68
views
Binding Custom Control to Parent ViewModel Commands
I'm trying to bind IncreaseQuantityCommand and DecreaseQuantityCommand from my ExplorePageViewModel to buttons in a custom control ProductCard. The commands don't execute when the buttons are clicked, ...
0
votes
1
answer
90
views
Is it recommended to use PancakeView.MAUI? [closed]
I’m currently working on a .NET MAUI project, and I’ve noticed that it doesn’t have as many plugins as Xamarin.Forms, which makes it harder to build more modern or visually appealing UI elements—...
0
votes
1
answer
41
views
Weird blurring / gradient mask effect in safe area on dotnet MAUI maccatalyst
I'm building a dotnet maui application. One of the targets that I am using is Mac OS X maccatalyst. My app consists of a hybrid web control that goes into the safe area with negative top margin so ...
0
votes
0
answers
70
views
Visual Studio 2026 - F# MAUI fails with "DEP1700: The recipe file ..." is missing
I recently installed Visual Studio 2026.
My program is written in F# with MAUI.
With Visual Studio 2022 it was working so far, since I installed VS 2026, it fails on VS 2022 as well. Prior VS 2026 I ...
0
votes
0
answers
40
views
MAUI CommunityToolkit Popup v2: JavaProxyThrowable when opening a popup on top of another popup
I am using .NET MAUI 10 with CommunityToolkit.Maui.
I previously used CommunityToolkit.Maui v9.1.1, and in that version, I could open a popup from another popup without any issues.
After upgrading to ...
0
votes
0
answers
79
views
Does anybody else have issues with sideloading after updating to Visual Studio 2026? [closed]
I recently updated my Visual Studio to the newest version (2026). Since I updated, my Android devices no longer appear in the list of devices. But even worse, since the update they don't appear in my ...
0
votes
0
answers
62
views
WebView in .NET MAUI can not access a webpage that is served on a VM using Fiddler (a proxy)
I created a quite simple .NET MAUI App. For now it only implements a WebView with a source:
MainPage.xaml.cs
public MainPage()
{
InitializeComponent();
WebView webView = new WebView
{
...
0
votes
0
answers
188
views
MAUI .NET 9 Android: "Application APK file path is not found" in Rider for both Debug and Run, simulator and physical device
I'm trying to debug and run a .NET MAUI Android app targeting .NET 9 in JetBrains Rider (2025.1.3).
SDKs installed:
9.0.308 [C:\Program Files\dotnet\sdk]
10.0.100 [C:\Program Files\dotnet\sdk]
...
-1
votes
1
answer
74
views
AppFlyout menu is overwriting the status bar
I've recently upgraded from .NET 9 to .NET 10. My MAUI app runs on both Windows and Android and uses AppFlyout rather than the conventional AppShell. When running the app on Android 15 the flyout ...
0
votes
0
answers
39
views
System.MissingMethodException: CommunityToolkit.Maui.Views.AvatarView in .NET MAUI 10
I'm getting an exception when trying to open a Page View that uses any CommunityToolkit.Maui view/control.
I am building the app with .Net MAUI 10 <MauiVersion>10.0.10</MauiVersion>.
I ...
-7
votes
0
answers
130
views
Whenever I try to compile my MAUI project I get CS0246 Error
I'm trying to build a three piece Streaming Project in which I need to build an API that is already working, a Java App for Android that I haven't even started and this .NET MAUI using C# that is ...
-1
votes
1
answer
67
views
Custom font size is not setting up from ResourceDictionary
I am working on a MAUI windows application. I made a resource directory file for font.xaml in Resources\Styles and configured it in App.xaml.
<ResourceDictionary
xmlns="http://schemas....
4
votes
1
answer
175
views
.NET MAUI 9 ZXing.Net.Maui doesn’t scan 26-character Code128 barcodes (not detected or decoded incorrectly) [closed]
I’m using ZXing.Net.Maui in a .NET MAUI 9 app to scan barcodes.
QR codes work perfectly, but Code128 barcodes with 26 characters are either:
not recognized at all, or
recognized incorrectly (wrong/...
0
votes
0
answers
66
views
MAUI - Access XAML element from a different class code behind
I'm working on my first MAUI app. It consists of two screens, switchable via a tab control.
Now to my issue - I have page MainPage.xaml with MainPage.xaml.cs and also AboutPage.xaml with AboutPage....
2
votes
2
answers
246
views
error MSB4057: The target "ResolvePackageAssets" does not exist in the project
I tried adding a migration via dotnet ef migrations add InitialCreate but got the following error
C:\Users\tmsta\OneDrive\source\repos\Server Default\TrevorsTempMonitorApp\TrevorsTempMonitorApp.csproj ...
0
votes
1
answer
67
views
.NET Maui Aspire integration not resolving ASP.NET Core Web API
I am trying to use the new .NET Maui Aspire integration to make my development life easier and I cannot get the service discovery to work where the app detects the API's URL. I'm following this https:/...
0
votes
0
answers
44
views
Release mode for a NET9 MAUI failed to find entry classes.dex
I have my application written with NET9 MAUI. I use Visual Studio 2026. The application is working in debug. When I deploy in Release, the application crashes immediately. The error log is quite long, ...
0
votes
0
answers
53
views
Deep linking in NET9 MAUI
In my NET9 MAUI application, I try to implement the deeplink following the Microsoft documentation. When I send a request, it gets to the OnCreate in the MainActivity.
[Activity(Theme = "@style/...
-1
votes
1
answer
114
views
Dotnet 10 - ZXing.Net.Maui 0.6.0 - Xamarin.AndroidX.Tracing dependency conflict breaks Android build
After upgrading to ZXing.Net.Maui version 0.6.0, my .NET MAUI Android application fails to build with a dependency conflict error.
Error Message
error NU1107: Version conflict detected for Xamarin....
3
votes
1
answer
70
views
Binding data to a ContentView in Syncfusion Popup (MAUI)
I'm trying to have a Syncfusion Popup in my app. Because of the size and for reusability I put the Popup's content into a separate ContentView. However this makes the Binding to the content fail. I ...
Advice
0
votes
1
replies
29
views
Can I use alphabets in ApplicationDisplayVersion
In MAUI project, can I use something like this
ApplicationDisplayVersion = 1.0.130-Dev
ApplicationDisplayVersion = 1.0.134-Prod
As per the documentation it should be maximum 3 part "1.0.0"
...
3
votes
0
answers
120
views
Start Android emulator with .NET Maui app from .NET Aspire dashboard
I have a .NET 10 MAUI app configured with Aspire 13. When I start the Aspire project and the dashboard launches, I ensure that the emulator is running.
Steps to reproduce
Start Visual Studio
Create a ...
0
votes
2
answers
161
views
Chain validation failed: .NET MAUI 9 Android App and Azure Web App
I have several .NET MAUI 9 and Xamarin.Forms apps in production, all connecting to an Azure Web App with two instances and a direct HTTP endpoint that handles hundreds of requests per minute.
Lately ...
0
votes
0
answers
73
views
How do I solve Bluetooth Service errors in inthehand library
I can't find the solution for errors in the BluetoothService class in .NET MAUI. I get 2 errors:
bluetoothService does not contain a definition for SerialPort
bluetoothDeviceInfo does not contain a ...
0
votes
1
answer
111
views
I'm having trouble masking my entry control to a phone number mask. Why?
I have a MAUI app. The initial XAML markup looks like this:
<mops:PopupPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:mops="clr-namespace:Mopups....
0
votes
1
answer
87
views
.NET MAUI CarouselView TapGestureRecognizer stops working on iOS after navigating back
I have a CarouselView on my HomePage. Each item in the CarouselView has a TapGestureRecognizer attached, which navigates the user to a details page for the tapped item.
The Problem
The app loads the ...
1
vote
0
answers
65
views
Xamarin Forms - Last Android version supported
What is the last version of Android that is supported for Xamarin Forms? I'm trying to update my app to the last possible version of Android for Xamarin Forms. I know I'll have to switch to MAUI ...
0
votes
2
answers
152
views
Implementation of PdfSharp IFontResolver causes .NET MAUI app for Android to crash
In a .NET MAUI 9 app I use PdfSharp.Maui (1.0.5) to create a pdf document. I don't use PdfSharp.Maui directly but rather PDFsharp which is a transitive package:
using (PdfDocument document = new ...
-6
votes
3
answers
140
views
MAUI Disable Soft keyboard for Entry
How can I disable the keyboard for a specif entry?
I have tried using the MAUI Community Toolkit but have had no success.
-1
votes
1
answer
72
views
Is there a way to resize the libVLC MediaPlayer after my Maui App resumes back to the foreground on Android?
So I am using the libVLC Package for my .Net MAUI App to Stream some Media on an Android tablet. As a guideline i was using the libVLC Maui Sample from here: https://code.videolan.org/videolan/...
0
votes
0
answers
63
views
.NET 10 MAUI Hot Reload fails: “No method by the name ‘GetProjectFullPathAsync’ is found”
After updating my Mac to macOS Tahoe 26.0.1 and Xcode 26, the XAML Hot Reload in my .NET 10 MAUI projects stopped working.
When I make any XAML change, the app stays unchanged and the output shows:
...
1
vote
2
answers
70
views
How is the iOS bundle identifier of .NET MAUI project determined?
I am trying to figure out exactly how the iOS bundle identifier of a .NET MAUI project (.NET MAUI 9, VS 2022 17.14.16) is determined.
Here's what I want to do:
The bundle identifier for iOS should be ...
0
votes
1
answer
82
views
ScrollView on .NET 9 iOS doesn't work (text doesn't show)
I'm having an issue with a ScrollView on iOS after upgrading to .NET 9 (MAUI). The ScrollView area appears (the white/scrollable area is there) but the text inside is not visible at all. On Android ...