2,270 questions with no answers
-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 ...
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....
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
0
answers
44
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
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
307
views
How to get a Share Extension working on Maui iOS
For the past few months I've been porting my app from Xamarin to Maui for iOS on Mac. It has been incredibly difficult, mostly due to the tools failing or not working as advertised.
Right now I think ...
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 ...
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 ...
0
votes
0
answers
51
views
.NET MAUI Android app fails to auto-start on Xiaomi after reboot – INSTALL_FAILED_USER_RESTRICTED / manifest errors
Body:
I’m building a .NET MAUI Android app and I want it to auto-start after a phone reboot on Xiaomi devices.
What I tried:
Created a BootReceiver in C# with [BroadcastReceiver] and [IntentFilter(...
0
votes
0
answers
91
views
.NET MAUI Android: TabBar overlaps with Navigation Bar
I'm building a .NET MAUI app and facing an issue on Android — the TabBar (Shell tabs) overlaps with the system navigation bar at the bottom of the screen.
Here’s what happens:
The tabs are partially ...
0
votes
0
answers
210
views
Enable edge to edge display is not working if Shell has Flyout behavior in MAUI app
I have developed MAUI app using Visual Studio 2022 v 17.14.16 and .NET 9 framework.
To enable edge to edge I have done this with below code in MainActivity.cs file.
protected override void OnCreate(...
0
votes
0
answers
62
views
MAUI: Issue with tabbedpage children order
I am migrating a xamarin forms project to MAUI. There is a tabbedpage to migrate and the child order is Alerts -> Home -> Menu. But when it comes to UI the order is in reverse format like Menu-&...
0
votes
0
answers
41
views
How to reference native C++ DLL in a .NET MAUI project?
In my .NET MAUI project, I need to use a native interop DLL. Following an example on the Internet, I defined the following in my .csproj file:
<ItemGroup Condition="'$(RuntimeIdentifier)' == ...
0
votes
0
answers
79
views
MAUI Transparent background
I downloaded .NET MAUI Community Toolkit example project. I really liked the look of the transparent style and I wanted to replicate it.
I copy Styles.xaml, where defined BackgroundColor for Page and ...
1
vote
0
answers
53
views
MAUI project greys out Publish for Windows
I want to publish my .NET 9 MAUI application in the Microsoft Store. I wanted to follow the steps in the Microsoft documentation.
First, I selected the target like that:
but when I try to Publish the ...
1
vote
0
answers
61
views
Unable to publish .NET MAUI iOS application – "No iOS signing identities match the specified provisioning profile"
I am working on a .NET MAUI project targeting .NET 8 for both Android and iOS. The app builds and runs fine in debug mode on both platforms, and I can test it locally in the simulators without issues.
...
1
vote
0
answers
74
views
.NET MAUI project – XAML IntelliSense and code-behind stopped working after upgrading to Visual Studio Insider
I recently updated to Visual Studio Insider (v18.0.11018.127) and uninstalled Visual Studio 2022.
After opening my existing .NET MAUI project, I noticed:
XAML elements are greyed out in the editor.
...
1
vote
0
answers
46
views
Prevent Default Scale Behaviour On .NET Maui Android
In my .NET Maui App, on the android side, I am working to kill the default scale behaviour on my bottom navigation TabBar items when the item is selected, i.e. when I navigate to that page.
My ...
0
votes
0
answers
62
views
I cannot hide a WebView in .NET MAUI
I added a WebView control to my .NET MAUI application and this control shall only be visible under certain conditions, e.g. the user wants to open a link.
My problem is that the WebView is always ...
2
votes
0
answers
91
views
Blazor Maui Hybrid app showing main window but not the login route?
For some reason my blazor maui hybrid app is just showing a blank window my routes.razor is this is inside my PasswordManager.App
<Router AppAssembly="@typeof(MauiProgram).Assembly"
...