2,838 questions with .NET MAUI tags

Sort by: Updated
1 answer

How to contribute to MAUI Development/Bug fixing

Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
answered 2024-04-18T17:03:20.94+00:00
Bruce (SqlWork.com) 54,866 Reputation points
0 answers

Screen Orientation in .NET Maui Application

I am looking to force a certain page to be displayed in landscape mode only. Is there a way to do this in shared code (I am only producing for iOS and Android, no Windows or MacCatalyst needed).

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-18T14:53:49.4766667+00:00
Isspro-eng 20 Reputation points
1 answer

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,351 Reputation points
commented 2024-04-18T13:14:59.23+00:00
Lloyd Sheen 1,351 Reputation points
1 answer One of the answers was accepted by the question author.

How to create borderless entry in iOS- maui .Net 8

I want to create a border less entry and picker in maui for iOS Net8 Thanks Vaibhav Methuku

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-01T02:51:09.47+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:39:48.9966667+00:00
Vaibhav Methuku 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to change color of item in a list on Mouse hover.?

I'm having a list of item, Whenever any item is selected in that particular list changing the particular color of the item using a trigger. please find the below code. <DataTemplate x:Key="SiteTemplate"> <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-01T08:23:09.02+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:39:27.8+00:00
Vaibhav Methuku 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to create a alert in MAUI - Platform specific - Android.

Hello Team, I want to reuse the existing alert which is created in Xamarin-Android, When I'm trying to access that. Facing this exception. Please find the below code: Device.BeginInvokeOnMainThread(() => { AlertDialog.Builder dialog = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-17T11:42:25.1566667+00:00
Vaibhav Methuku 0 Reputation points
accepted 2024-04-18T10:38:34.1433333+00:00
Vaibhav Methuku 0 Reputation points
1 answer

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,686 Reputation points
edited an answer 2024-04-18T09:58:09.9033333+00:00
Khaled El-Sayed Mohamed 1,060 Reputation points
0 answers

How to handle long operation using Task

Hi, How to handle long operation using Task taht can take few minites? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-18T09:03:18.3066667+00:00
דני שטרית 2,686 Reputation points
commented 2024-04-18T09:03:52.93+00:00
דני שטרית 2,686 Reputation points
1 answer One of the answers was accepted by the question author.

Round in the navigation of flylou

Hi, In https://github.com/dotnet/maui/issues/21576 there is attached sample. Why there is round in the navigation of flylout ( See attched picture) and how is can be fixed ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-17T11:50:03.91+00:00
דני שטרית 2,686 Reputation points
accepted 2024-04-18T08:20:30.7866667+00:00
דני שטרית 2,686 Reputation points
1 answer One of the answers was accepted by the question author.

ContentView as CollectionView's ItemTemplate with custom Command

Hi, I have a CollectionView that have as ItemTemplate a ContentView. I need to pass at the XAML of the ContentView a custom Command, so I have created a BindableProperty but it remains always null. public ICommand ApriCommand { get { return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-15T14:45:48.2866667+00:00
Matteo Pozzato 116 Reputation points
accepted 2024-04-18T08:14:17.1233333+00:00
Matteo Pozzato 116 Reputation points
1 answer

can not find path for sqlite db in Maui app

i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,573 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 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.
10,194 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
935 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
326 questions
asked 2024-04-17T07:00:39.2033333+00:00
amr yakout 40 Reputation points
answered 2024-04-18T07:50:38.5666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,841 Reputation points Microsoft Vendor
2 answers

How to update entire MAUI workload to latest? (8.0.20)

How do I update my entire .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-16T09:48:41.18+00:00
Mikkel Bech 10 Reputation points
commented 2024-04-18T07:47:52.0333333+00:00
Mikkel Bech 10 Reputation points
0 answers

how to save in other storage folder in android?

I am using .net MAUI and want to save the sqlite db to other folder. I know I can get the FileSystem.AppDataDirectory and save the db but it will be deleted when I remove the APP. how to keep the db when I remove the APP and when I reinstall it I can use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-14T15:56:15.6833333+00:00
mc 3,641 Reputation points
commented 2024-04-18T06:54:56.05+00:00
Gyan yog breath 0 Reputation points
0 answers

Maui packaged as iOS 17 system failed to send message using udpClient No Route to Host

I have implemented the following code in C#: IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse(udpServerIp), udpPort); udpClient.Send(requestBytes, requestBytes.Length, remoteEP); However, Packaging it as Android can send UDP messages, when using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 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.
10,194 questions
asked 2024-04-17T02:53:26.8433333+00:00
于晏 彭 0 Reputation points
commented 2024-04-18T06:27:45.6433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,841 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Entry UnFocused Event not trigger after change value

After changing the value of an entry, the 'Entry Unfocused' event does not trigger, nor does it trigger when clicking on any other page after changing the entry value. please provide me any solution or any patch to fix this issue.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-15T06:10:45.9+00:00
Bhuwan 596 Reputation points
accepted 2024-04-18T06:02:10.7433333+00:00
Bhuwan 596 Reputation points
0 answers

Mac question

I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 185 Reputation points
0 answers

How to debug and fix 'Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)' error on MAUI Android app

I have an Android app published in 'open testing' in Play store. And I am seeing 2% crash rate with this error. I have got the logcat file for 2 crashes, but not able to figure out any source/reason for crash. I am really looking for some help to make…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,343 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-16T17:45:30.3666667+00:00
ac-lap 71 Reputation points
commented 2024-04-18T03:06:24.8866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,841 Reputation points Microsoft Vendor
1 answer

Unable to publish App to Apple store

Hi, I'm new to Mobile App Development. I have developed a login page App and trying to deploy the App to Apple store and got this error when running the deploy command. Will you please review the errors and guide me in resolving the issue. dotnet…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-09T01:17:12.25+00:00
Sandeep Reddy Pinniti 1 Reputation point
commented 2024-04-18T02:19:25.22+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,841 Reputation points Microsoft Vendor
2 answers

How to debug MAUI.iOS app from VS Windows 2022

Hi, I'm trying to debug the MAUI.iOS app from VS Windows 2022. I connected to the remote mac successfully. This Mac mini is using Xcode 15.2 and have VS Mac 2022 installed. When I ran, I saw it deployed successfully to the Mac, and the app also opened…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-01T14:27:21.1466667+00:00
Huynh Than 65 Reputation points
commented 2024-04-18T02:15:15.6266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,841 Reputation points Microsoft Vendor
0 answers

[MAUI] How to set the icon of a new window in MAUI? Including Android and Windows platforms

I need to open a new window on my Android device and set its icon, similar to a WeChat mini program, but I haven't seen any API documentation related to it in the official documentation that allows me to set its icon, so I want to ask if this is possible…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,343 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,838 questions
asked 2024-04-18T01:43:45.9833333+00:00
studio XFE 5 Reputation points