3,005 questions with .NET MAUI tags

Sort by: Updated
0 answers

.net maui grouping data binding not working, displays blank lines.

My listview does not bind correctly, I'm getting blank lines. ( I'm missing something in the code) (in debug) the for each loop show there is data in the Items object but it does not show up in the listview. Xaml <?xml version="1.0"…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,718 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-30T12:51:24.5833333+00:00
tim 140 Reputation points
0 answers

removable drive seen in debbugger although i filter it.

hi, i used this code and i see removable drive in debugger, why? I used mac. DriveInfo[] drives = DriveInfo.GetDrives(); drives = drives.Where(drive=> drive.DriveType != DriveType.Removable && drive.DriveType !=…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-30T11:56:43.41+00:00
Dani_S 2,906 Reputation points
commented 2024-05-30T12:41:26.13+00:00
Dani_S 2,906 Reputation points
2 answers One of the answers was accepted by the question author.

Build fail for project in Android [.NET 8]

Good morning, I have a perfectly working MAUI project developed with .NET7 that I decided to migrate to .NET8. However, I am unable to publish in Release, while in Debug it works correctly. Good morning, I have a perfectly working MAUI project developed…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-01-18T14:28:49.43+00:00
Alberto Fagni 20 Reputation points
answered 2024-05-30T12:00:36.2466667+00:00
Dave Murray 0 Reputation points
0 answers

Helper folders in MAC

Hi, I need for my app in mac some helpers folders to : 1.for log file 2.for dwnload files .... where to put them ? I nee absoulth path for them to read from code of mac app. Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-30T11:52:15.06+00:00
Dani_S 2,906 Reputation points
0 answers

Mac cursor on button

Hi, In window I did this code and is not working on MAC. How do i fix it ? Thanks, Microsoft.Maui.Handlers.ButtonHandler.Mapper.AppendToMapping("Custom", (handler, view) => { ```#if WINDOWS using Microsoft.UI.Input; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-30T11:48:07.2133333+00:00
Dani_S 2,906 Reputation points
0 answers

how to fix this -An error occurred while accessing the file from the web. Please try downloading and opening the file locally.

I'm trying to configure automatic updates in via appinstaller, I had configured my appinstaller and when I open that I'm facing this issue. here's my appinstaller: <?xml version="1.0" encoding="UTF-8"…

Universal Windows Platform (UWP)
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-30T11:26:34.6333333+00:00
Vaibhav Methuku 80 Reputation points
1 answer

is it possible to start intent of Android?

Hi, I am newbie. I would like to know is it possible to start an intent via click a button at maui? Such like startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)) or startActivity(new Intent(Settings.ACTION_SETTINGS)); …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2022-08-12T07:57:48.947+00:00
Yuan Jeffers 1 Reputation point
edited an answer 2024-05-30T10:50:08.97+00:00
Antonio Lopes 1 Reputation point
1 answer

MAUI Splashscreen

How to create custom splascreen in .net maui?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,474 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-30T07:46:16.76+00:00
Yogita Magdum 0 Reputation points
commented 2024-05-30T10:43:35.0033333+00:00
Yogita Magdum 0 Reputation points
0 answers

Mac cursor on button

Hi, In window I did this code and is not working on MAC. How do i fix it ? Thanks, Microsoft.Maui.Handlers.ButtonHandler.Mapper.AppendToMapping("Custom", (handler, view) => { #if WINDOWS using Microsoft.UI.Input; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-30T10:34:02.6266667+00:00
Dani_S 2,906 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft.Maui.ApplicationModel.FeatureNotSupportedException for PhoneDialer and EmailMessage

I am getting below exception for PhoneDialer and EmailMessage features. Microsoft.Maui.ApplicationModel.FeatureNotSupportedException: Specified method is not supported. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-29T09:18:27.9966667+00:00
Sreejith Sreenivasan 691 Reputation points
accepted 2024-05-30T10:10:52.7033333+00:00
Sreejith Sreenivasan 691 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-30T10:01:02.75+00:00
Aleena George 20 Reputation points
1 answer

Carousel not changing items in real-time, blank slide, grey bar at the bottom on iOS

I am binding an ObservableCollection to a Carousel view and displaying images and text. What I am noticing is that if I change the contents of the ObservableCollection, the Carousel doesn't reflect the change in realtime. I have to swipe through a few…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-29T19:06:17.7066667+00:00
Reza Mohamed 1 Reputation point
answered 2024-05-30T09:50:19.12+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
1 answer

App crashes after throwing an error ' Window was already created'

Platform : Android Version : MAUI 8 Description : I was trying to invoke platform specific code by implementing broadcast Receiver for android, When I tried to register the receiver onResume( ) , app crashed with an error "Window was already…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-29T09:32:36.64+00:00
Manickam, Suraj 260 Reputation points
commented 2024-05-30T09:21:25.5666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,691 Reputation points Microsoft Vendor
1 answer

Save xml log file in MAC

Hi, In windows I keep in c drive in MAC where i save my log file? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-29T10:31:16.86+00:00
Dani_S 2,906 Reputation points
edited a comment 2024-05-30T09:03:01.0866667+00:00
Dani_S 2,906 Reputation points
0 answers

Get all drives in MAC ?

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,906 Reputation points
edited a comment 2024-05-30T08:59:09.86+00:00
Dani_S 2,906 Reputation points
0 answers

Running app on mac - menu corrupted

Hi, Please run the app from: https://github.com/dotnet/maui/issues/22719 the menu corrpted when switching between pages and when maximize the page. Thank in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-29T15:02:22.02+00:00
Dani_S 2,906 Reputation points
commented 2024-05-30T07:47:49.1433333+00:00
Dani_S 2,906 Reputation points
0 answers

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 2,906 Reputation points
commented 2024-05-30T07:19:24.3966667+00:00
Dani_S 2,906 Reputation points
0 answers

MAUI build errors : Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute

Hi Team, I am getting some strange build errors while I am rebuilidng the .NET MAUI mobile app solution. It worked fine till yesterday. All of sudden I am getting some strange errors now. I deleted .obj & bin folders and restrtaing visual studio…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,304 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,474 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-30T07:17:55.4066667+00:00
KallemSandeep-8232 36 Reputation points
0 answers

How to fix build errors that I am getting currently when I convert my .NET MAUI [ sdk 6 version] to .NET 8 version?

I am currently in a process of converting my MAUI project which is in .NET 6 version to .NET 8 version. I have used Microsoft's .NET upgrade assistant extension tool for the same. After successful upgrade, when I try to build/rebuild my project, I am…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,474 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 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,411 questions
asked 2024-05-29T07:24:16.99+00:00
Suhas MR 0 Reputation points
edited a comment 2024-05-30T07:05:40.6266667+00:00
Suhas MR 0 Reputation points
1 answer

.NET8 MAUI Image "gif" animation Debug vs. Release

Has anyone figured out how to get a MAUI Image "gif" animation to work in Release mode?   Using Visual Studio 2022's Android Device Manager, Emulator set to Tablet M-DPI 10.1in - API34, Android 14.0 - API 34, the MAUI Image animation in Debug…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,474 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,005 questions
asked 2024-05-22T20:22:10.54+00:00
Paul Kelley 0 Reputation points
commented 2024-05-30T06:38:39.45+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,691 Reputation points Microsoft Vendor