9,195 questions
-1
votes
0
answers
14
views
cannot convert from '__XamlGeneratedCode__.__Type0E459CAF0A856A27' to 'Microsoft.Maui.Controls.Element'
Severity Code Description Project File Line Suppression State
Error (active) CS1503 Argument 1: cannot convert from '_XamlGeneratedCode_.__Type0E459CAF0A856A27' to 'Microsoft.Maui....
0
votes
0
answers
23
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
16
views
In .NET 10 MAUI the AppFlyout menu overwrites 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 ...
-7
votes
0
answers
82
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 ...
5
votes
1
answer
110
views
.NET MAUI 9 ZXing.Net.Maui doesn’t scan 26-character Code128 barcodes (not detected or decoded incorrectly)
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
45
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
0
answers
36
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, ...
-3
votes
0
answers
45
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....
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"
...
0
votes
1
answer
53
views
Performance Issue When Using Mobile Data in the MAUI Application [closed]
A problem has been identified where some users experience significant delays when loading or displaying content while using mobile data.
This behavior does not occur when connected to Wi-Fi, where the ...
0
votes
0
answers
65
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
67
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 ...
0
votes
2
answers
126
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 ...
0
votes
1
answer
51
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/...
1
vote
2
answers
59
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
40
views
Unable to play audio once audioStreamer.StartAsync() has been created and started
This .NET MAUI application seems to work ok on Android, both audio types play. But on iOS (iPad connected to my Mac which is connected to my Windows VS2022), once the _audioStreamer.StartAsync(); is ...
1
vote
1
answer
69
views
MAUI app deployment to Android emulator no longer succeeds
I'm trying to run my app on the Android emulator, which has worked fine for months. Now it sits there on the Settings screen (and does not respond to mouse input). VS is stuck at "Waiting for ...
0
votes
2
answers
72
views
How do I resolve a error global::System.Diagnostics.Debugger.Break(); in a .Net Maui application
I'm trying to configure a new Maui app to use EF and Sqlite following this guide: https://learn.microsoft.com/en-us/dotnet/maui/data-cloud/database-sqlite?view=net-maui-9.0
For a long time I got an ...
1
vote
0
answers
86
views
iOS 26 MAUI Entry shows small numpad first, then switches to full keyboard
I'm using .NET MAUI and targeting iOS 26. I have an Entry like this:
<Entry Text="{Binding ItemQuantityInput, Mode=TwoWay}"
Placeholder="Enter Quantity"
FontSize=...
0
votes
0
answers
60
views
How to measure .NET MAUI application code coverage triggered by Appium UI automation tests?
I have a .NET MAUI application (targeting .NET 9) that runs on Windows.
In the same repository, I also have a separate Appium-based UI automation project (using .NET 8), which drives the MAUI app ...
Advice
5
votes
3
replies
594
views
How to load a website (HTML) and click a button?
I'm working on a small tool in C# and using .Net MAUI. Part of it is loading a website and parsing a list of items from that site.
I can load and parse the elements, but the site has a "load more&...
0
votes
0
answers
49
views
Facing issue in MAUI project to build android apk
I am new to MAUI. Facing issue in MAUI project to build android apk. I am using VSCode in my macbook air laptop.
When I run with the real device connected, it works fine. But when I try to create a ...
1
vote
0
answers
258
views
iOS 26 and .NET MAUI 9 - Flyout Hamburger Icon and Back button color being overwritten by iOS appearance
I have a .NET MAUI Shell application with a Flyout menu targeting .NET 9. The Action Bar in both Light and Dark mode is set to be black. I want the hamburger menu icon and the back button to be white ...
1
vote
1
answer
58
views
EventToCommandBehavior in CollectionView item template
I'm fighting with bindings in a CollectionView, enough time wasted!
The data model class is called Event. An ObservableCollection of these is bound to the CV.
I am trying hard to stick to MVVM so I ...
0
votes
0
answers
45
views
Android BackTalk cannot enter an Entry field when placed within a ListView
I am currently attempting to add accessibility features to an mobile application written with DotNet MAUI. During the course of testing, it became evident that entry components could not be activated ...