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
47
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]
...
0
votes
0
answers
22
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 ...
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/...
0
votes
1
answer
51
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:/...
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
49
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....
1
vote
0
answers
89
views
How to solve Windows .NET MAUI app publish errors?
I have a .NET 9 MAUI Windows application.
I'm trying to publish it using the following command :
dotnet publish --framework net9.0-windows10.0.19041.0 --configuration Debug
--self-contained ...
0
votes
0
answers
36
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/...
-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....
3
votes
1
answer
49
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"
...
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 ...
-6
votes
3
answers
121
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
vote
2
answers
630
views
Java.Lang.IllegalArgumentException .NET MAUI
After installing BarcodeScanner.Mobile version 8.0.0.1 I get this exception when the application starts: MAUI Java.Lang.IllegalArgumentException: 'This component requires that you specify a valid ...
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 ...
1
vote
2
answers
417
views
MAUI .NET 8 iOS - Method not found: SkiaSharp.SKMatrix SkiaSharp.SKMatrix.MakeTranslation(single,single)
I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code.
I am facing an exception as below when loading the SVG image,
Unhandled Exception:
System.MissingMethodException: ...
1
vote
2
answers
302
views
The property PackageVersion was expected to have a single value across all target frameworks
The error I'm getting after loading the solution is - "Unable to read project information for 'MauiApp': The property PackageVersion was expected to have a single value across all target ...
11
votes
4
answers
14k
views
.Net MAUI Android App: Change Navigation and Status Bar colors at Splash screen moment
I'm trying to change Navigation Bar and Status Bar background color in my .Net MAUI Android App.
I found how to do that when the app has initialized an loaded (Status Bar: Using MauiCommunityToolkit ...
0
votes
1
answer
72
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 ...
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 ...
2
votes
1
answer
75
views
How can I solve an EF Core error querying SQLite?
I just got my .Net 9 Maui app working with EF Core and SQLite. I have one row of data in the database that looks like this:
I have a simple query that runs when the app loads. The repository method ...
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 ...
3
votes
7
answers
6k
views
Font doesn't display correctly in .Net MAUI
I'm experiencing problems using a font in MAUI. The project in which the font is used is very very simple (the general Hello World!).
The font is placed in the correct directory (Resources/Font), is ...