3,802 questions with .NET MAUI tags

Sort by: Updated
0 answers

WebView Navigated Event Not Triggered in .NET MAUI

I am experiencing an issue with the WebView control in my .NET MAUI app where the Navigated event does not fire after navigation. Here’s the scenario: The Source property of the WebView is set to a valid URL. I have subscribed to the Navigated event…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Dec 4, 2024, 9:00 AM
Manjunath Vadigeri 0 Reputation points
edited a comment Jan 10, 2025, 8:38 PM
LMiles 6 Reputation points
0 answers

Is it possible in .net Maui to get access to the current binding for a bindableproperty?

I want to be able to access the binding for a bindable property not the bound value the BindingBase that was created that controls the binding process. Specifically I want to get the path that was specified when the binding was created (usually in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 10, 2025, 7:50 PM
Jeff Pfahl 91 Reputation points
1 answer

.NET MAUI and flutter

I’m still new to .NET but have a basic understanding of C#. I’ve also worked with Flutter, but I find its extensive widgets overwhelming and hard to read. This has made me consider focusing on .NET instead. For someone relatively new to .NET but familiar…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 10, 2025, 12:33 PM
Rendy Putrayana 0 Reputation points
edited an answer Jan 10, 2025, 6:12 PM
Bruce (SqlWork.com) 69,111 Reputation points
0 answers

.NET MAUI Migration from Xamarin.forms

Hi, as a result of migrating from xamarin to .NET MAUI, using the migration tool “Upgrade Assistant” provided by microsoft, I have resolved the various errors related to solution compilation. The code compiles correctly and even manages to emulate on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 9, 2025, 4:13 PM
Mattia Pisilli 0 Reputation points
commented Jan 10, 2025, 5:07 PM
Mattia Pisilli 0 Reputation points
0 answers

unexpected behavior when navigating between pages in my Maui App using AppShell .

I'm using AppShell for navigation in my .NET MAUI application. However, sometimes when I click on a menu item, an unexpected new line appears at the top of my app. This line remains visible until I completely exit the application. What could be causing…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
826 questions
asked Jan 10, 2025, 10:02 AM
Graja Kaouthar 20 Reputation points
0 answers

In MAUI it will re-open my APP when I quit and open another app

in MAUI Platform IOS: I open my app and open Page1 and then tab the screen to open another APP and then quit that APP then return to my APP the Page1 is disappeared and it is the home page. does it closed and re-open? how to keep the Page1(or other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 9, 2025, 10:00 AM
mc 5,041 Reputation points
commented Jan 10, 2025, 8:08 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,146 Reputation points Microsoft Vendor
1 answer

Burn Selected Folders/Files in CD-Rom

Hi, I have treeview of drive/folders + files as you see . While pressing on copy command I copied the selected files to temp folder. I want code that will burn this files with all folder structure not only the files to CD-ROM. Can you please supply all…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 5, 2025, 12:14 PM
Dani_S 3,911 Reputation points
commented Jan 10, 2025, 7:51 AM
Dani_S 3,911 Reputation points
1 answer

Unable to display alert after modal popup

I have an issue I am unable to solve. In this code: var popupPage = new myPopup(); var taskCompletionSource = new TaskCompletionSource<bool>(); // Set up an event to resolve the task when the modal is dismissed popupPage.Disappearing += (s, args)…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,181 questions
asked Jan 8, 2025, 5:19 PM
Phunction 261 Reputation points
answered Jan 10, 2025, 7:41 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,146 Reputation points Microsoft Vendor
0 answers

iOS app crash in release mode

My iOS app crashes after installation on a device through distribution, but it works fine in debug mode. How can I check why my app crashes after installation on an iPhone? I am using the latest .NET 9.0.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 6, 2025, 12:49 PM
Bhuwan 736 Reputation points
commented Jan 10, 2025, 7:07 AM
Bhuwan 736 Reputation points
2 answers

The Webview does not display PDF

iOS is displaying pdf but android WebView does nothing. I want to open a pdf from a web resource on WebView. But the WebView does not render the pdf. On the other hand the webpages are displayed on WebView without any problem.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Dec 16, 2024, 1:31 PM
Umakant Sharma 0 Reputation points
commented Jan 10, 2025, 6:04 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
1 answer

NET MAUI Splash Screen Not Displaying logo.png on Android 14 and 15

I am developing a .NET MAUI application and facing an issue with the splash screen when installing the app on physical devices running Android 14 and 15. The splash screen only displays the purple background, but the logo.png image (with a white…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 8, 2025, 10:00 AM
Omkar Pawar 40 Reputation points
commented Jan 10, 2025, 5:36 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,201 Reputation points Microsoft Vendor
1 answer

Which tool we should we for Windows application automation? WinAppDriver or Selenium or Appium?

I try to use WinAppDriver but It is not working properly. It has many issues in setup only. I did all installation correctly, but it is still showing bad capabilities error. https://github.com/microsoft/WinAppDriver/issues/1848 Is there any alternative…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 6, 2025, 9:28 PM
Shingala A 25 Reputation points
commented Jan 10, 2025, 5:28 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
0 answers

MAUI CollectionView selected item error

Hello. I starts to learn MAUI Enterprise apps patterns and I found en error (or unexpected behavior) in CollectionView. In my example, I have TrainingsViewModel whitch have ObservableCollection of TrainingViewModel property named as AllTrainings. This…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 3, 2025, 11:01 PM
Lukas Hubacek 0 Reputation points
commented Jan 10, 2025, 3:06 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
1 answer

increase the bindings performance

Hello happy new year to everyone I am trying to increase performance on my xaml Since I updated to .Net 9, I got this warning Binding was not compiled because it has an explicitly set Source property and compilation of bindings with Source is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 4, 2025, 2:38 PM
Eduardo Gomez Romero 1,175 Reputation points
commented Jan 10, 2025, 3:03 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
0 answers

how to resolve The Android SDK licenses acceptance failed. These must be accepted to continue using Android. For more details, check the Xamarin Output. Double-click on this message to try this again.

Good morning, everyone. I'm trying to create a mobile application using .NET MAUI with .NET 9. When I attempt to debug the application by selecting Android Emulators, it asks me to accept the android-sdk-license. I click "Accept," and after…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 9, 2025, 11:02 AM
Sandro Falomi 0 Reputation points
commented Jan 10, 2025, 3:00 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,201 Reputation points Microsoft Vendor
1 answer

Refresh the map

I need some help in refreshing the map, when the internet is back on Since the map doesn't have any refresh, I am using the pages stack to reload the page interface public interface IAppService { Task NavigateToPage(string pageName); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 6, 2025, 3:44 PM
Eduardo Gomez Romero 1,175 Reputation points
commented Jan 10, 2025, 2:56 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
2 answers

Cannot install maui workload version 8.0.100

Hi everyone, I am trying to install maui workload in version 8.0.100 - I have .NET SDK 8.0.401 installed. When executing "dotnet workload install maui --version 8.0.100" I get an error saying that Version 8.0.100 of package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 6, 2025, 4:40 PM
Thomas Hoefkens 0 Reputation points
commented Jan 10, 2025, 2:53 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how to update version in apk maui application automatically?

Hi, i'm using .net maui 8 for Android , and i publish my application in a remote server and when i update my application automatically by comparing version in update.json file. I can't update version in my app. how to do that?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,181 questions
asked Jan 7, 2025, 3:42 PM
Graja Kaouthar 20 Reputation points
accepted Jan 9, 2025, 4:36 PM
Graja Kaouthar 20 Reputation points
2 answers

Can't deploy Visual Studio Net 9.0 project with Android

While deploying a Visual Studio Net 9.0 project, it occasionally gives a warning: This project is not suitable for Android, check for errors. After deploying the project with Windows, it can be deployed on Android. This situation is repeated from time to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,337 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Nov 21, 2024, 8:43 AM
Huseyin Unsal 10 Reputation points
commented Jan 9, 2025, 3:56 PM
Marc Roussel 0 Reputation points
1 answer

Permanent MAUI config file survives update of application

Hello experts I have a MAUI C# code below, for reading and writing a text file of user setting (like colors, ids, last state..) of MAUI application. Works perfect (development)! (MAUI Android and MAUI Windows) But what happends with this setting file, if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,802 questions
asked Jan 7, 2025, 1:19 PM
Wheelstring 150 Reputation points
commented Jan 9, 2025, 2:30 PM
Wheelstring 150 Reputation points