3,995 questions with .NET MAUI tags

Sort by: Updated
0 answers

Microsoft Visual Studio Professional 2022 (64-bit) - Preview Version 17.14.0 Preview 2.0 will no longer compile my MAUI app

After installing Visual Studio 2022 Preview 2, my MAUI app won't build. Trying to restore workloads, I get this: Workload update failed: One or more errors occurred. (Version 35.0.50 of package microsoft.android.sdk.windows.msi.x64 is not found in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-12T01:09:39.4466667+00:00
Steve Frase 0 Reputation points
0 answers

Microsoft Visual Studio Professional 2022 (64-bit) - Preview Version 17.14.0 Preview 2.0 will no longer compile my MAUI app

After upgrading to preview 2, I cannot build my MAUI app. Visual Studio Output says: To build this project, the following workloads must be installed: wasm-tools-net8 To install these workloads, run the following command: dotnet workload restore But…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-12T01:00:07.2266667+00:00
Steve Frase 0 Reputation points
0 answers

Microsoft.Identity.Client.Desktop

I successfully tested the sample https://github.com/Azure-Samples/ms-identity-dotnetcore-maui/tree/main/MauiAppBasic in .NET MAUI 8.0. Now I would like to create my own project using the same technique. To begin with, I created an empty project, then I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-11T15:48:29.09+00:00
Giorgio Sfiligoi 326 Reputation points
commented 2025-03-11T18:17:39.46+00:00
Bruce (SqlWork.com) 72,111 Reputation points
0 answers

Android-specific code on MAUI: Trouble with Android.Resource

What I am trying to achieve right now is something I've done before in other prototypes where I work, but I haven't run into this problem so far. I will give as much context as possible without making this question too long. Our app will use ARCore on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-11T17:26:09.4233333+00:00
Kleber Ferreira 0 Reputation points
1 answer

MAUI for iOS Publish in Visual Studio 2022 for Windows in Parallax VM

I have a Mac. I have a Parallels Windows 11 VM with Visual Studio 2022 installed with the dotnet SDK and MAUI workloads. My source code is on the Mac and shared as a drive in the VM so I can open the exact same project on either the Mac using VSCode or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-02-05T22:07:05.2566667+00:00
Tony Pitman 100 Reputation points
commented 2025-03-11T15:25:55.25+00:00
Tony Pitman 100 Reputation points
1 answer

Issue Populating CollectionView with ObservableCollection in .NET MAUI

Hi, I am facing an issue in my .NET MAUI application where I am trying to populate a CollectionView using an ObservableCollection<LeaveSummary> in my ViewModel. The data is correctly fetched, and I can see the ObservableCollection.Count in a Label,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-06T18:02:38.5266667+00:00
Arnab Mukherjee 80 Reputation points
commented 2025-03-11T13:41:48.71+00:00
Arnab Mukherjee 80 Reputation points
1 answer

Flyout Navigation - Mouse hover

Hi, In continue to https://learn.microsoft.com/en-us/answers/questions/2202802/flyout-navigation-improvements?page=1#answer-1989782 How I support mouse hover when navigation on collection view ? I want Custom Cursor hand when hovering over an item in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-10T09:39:24.4233333+00:00
Dani_S 4,171 Reputation points
commented 2025-03-11T12:10:53.41+00:00
Dani_S 4,171 Reputation points
0 answers

ANDROID REDIRECT URI

I am trying to test the sample https://github.com/Azure-Samples/ms-identity-dotnetcore-maui/tree/main/MauiAppWithBrokerTo run in Android, it requires that "AndroidRedirectUri" be defined. The Entra ID portal requires a hash key that has to be…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-11T11:29:25.92+00:00
Giorgio Sfiligoi 326 Reputation points
1 answer One of the answers was accepted by the question author.

Fonts become italic

Hi, In Maui template we have: fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); Later I publish the app as exe. When I create setup with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-10T15:23:18.23+00:00
Dani_S 4,171 Reputation points
accepted 2025-03-11T10:57:08.8666667+00:00
Dani_S 4,171 Reputation points
0 answers

Consuming a Static Library created in c++ in MAUI for iOS Deployment.

Hello, I have a c++ library that is for Signal Processing. This is being built for arm64, arm64e. I have created an iOS Binding Library that consumes *.a static library and imports methods. I am referencing this binding library in my MAUI Project. I have…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-11T10:40:35.3933333+00:00
Atul Godbole 0 Reputation points
1 answer One of the answers was accepted by the question author.

Flyout Navigation Improvements

Hi @Leon Lu (Shanghai Wicresoft Co,.Ltd.) I'm using this flyout Navigation. sample code from "Leak.zip" from end of: https://github.com/dotnet/maui/issues/23625 Questions: Can improve navigation beetween page 1 to page 2 to page 3 ? Can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-09T08:41:43.2866667+00:00
Dani_S 4,171 Reputation points
commented 2025-03-11T09:13:59.4966667+00:00
Dani_S 4,171 Reputation points
1 answer

Image Resizing issue on MAUI android app

Requirement :The MAUI android app allows users to capture / pick 75 images with any size and orientation. Here the challenge is to resize these 75 images into a standard size such that it fits the screen and the images maintain its aspect ratio. I have…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-02-28T06:00:33.0166667+00:00
Leon Rodrigues 0 Reputation points
commented 2025-03-11T09:02:21.1333333+00:00
Leon Rodrigues 0 Reputation points
1 answer

Unable to do Production Build for iOS on Visual Studio

Whenever we try to build, we get the following error. The certificate 'Apple Distribution:… does not match … However the certificate exists on both the Windows Build Machine and the Mac Agent. This then results in the following error. C:\Program…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-06T18:19:50.9233333+00:00
K T 0 Reputation points
commented 2025-03-11T08:20:20.97+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,081 Reputation points Microsoft External Staff
1 answer

How to detect the flyout Open and Close in MAUI

I would like to detect the flyout open and closing event

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-04T16:58:37.46+00:00
Vaibhav Methuku 100 Reputation points
edited a comment 2025-03-11T07:04:57.6633333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,081 Reputation points Microsoft External Staff
1 answer

Flyout IsPresented is property is not working as expected

I tried to determine whether the Flyout is presented using this approach: https://learn.microsoft.com/en-us/answers/questions/2200916/how-to-detect-the-flyout-open-and-close-in-maui It works fine in most cases, but I encountered an issue in a specific…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-10T17:24:12.1933333+00:00
Vaibhav Methuku 100 Reputation points
commented 2025-03-11T06:59:42.3833333+00:00
Vaibhav Methuku 100 Reputation points
0 answers

Using Segoe MDL2 Assets or Segoe Fluent Icons in cross-platform MAUI apps

The page here for Segoe MDL2 Assets says: "On a Mac, you need to download and install the font: Get the Segoe UI and MDL2 icon fonts" and the page here for Segoe Fluent Icons says: "On a Mac or other device: You can download Segoe Fluent…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-11T02:59:12.8633333+00:00
ishebewhat 61 Reputation points
0 answers

Error creating a .NET MAUI project and attempting to use dotnet restore

Hello, I am attempting to create a .NET MAUI project. However, I am getting this error: PS C:\Users\javer\source\repos> dotnet new maui -n MauiCalculator The template ".NET MAUI App" was created successfully. Processing post-creation…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-11T01:53:27.4466667+00:00
Ben Underwood 0 Reputation points
1 answer One of the answers was accepted by the question author.

ACCESS ONEDRIVE

I have an MS account and use OneDrive. I am developing a .NET MAUI (8.0) app that should be able to access a specific folder in my OneDrive and download/upload files in this folder. The only authorization required should be my MS account. This task seems…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-04T10:34:35.9533333+00:00
Giorgio Sfiligoi 326 Reputation points
commented 2025-03-11T00:19:13.3+00:00
Bob Whitten 0 Reputation points
1 answer One of the answers was accepted by the question author.

Change Output Folder Publish-> Create App

I've changed the location of a folder for my MS Store app, from C:\Projects_2024 to C:\Projects_2025. Previously when I went to Publish->Create App Packages... it create my msix in the Projects_2024 sub directory. However, now that I am building the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-06T16:27:32.6266667+00:00
Fritz Switzer 321 Reputation points
commented 2025-03-10T14:03:12.57+00:00
Fritz Switzer 321 Reputation points
1 answer

MAUI: How to increase the slider height

I have a slider like below: <Slider x:Name="audioSlider" Grid.Row="0" Minimum="0" VerticalOptions="Center" HorizontalOptions="Fill" ThumbColor="Transparent" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,995 questions
asked 2025-03-06T15:44:01.99+00:00
Sreejith Sreenivasan 961 Reputation points
answered 2025-03-10T09:51:11.5233333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,606 Reputation points Microsoft External Staff