2,969 questions with .NET MAUI tags

Sort by: Updated
3 answers

What is the correct way to upgrade dotnet SDKs for MAUI

Can someone tell me the proper way to upgrade .net? I have kept mine on an older version for a while now because it has been working with xcode 15.3 for me. Since it appears the issues with xcode 15.3 have been resolved in the latest version, I would…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-16T15:01:48.6366667+00:00
Tony Pitman 40 Reputation points
commented 2024-05-22T16:11:37.66+00:00
Tony Pitman 40 Reputation points
0 answers

How to remove page navigation animation in .Net MAUI?

I am using Appshell for navigation. Appshell.Xaml.cs Routing.RegisterRoute(nameof(LoginPage), typeof(LoginPage)); In Viewmodel relay command i am call the below AppShell.Current.GoToAsync(nameof(LoginPage)); Animation is moving from left to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-21T05:43:55.4466667+00:00
Sowndarrajan Vijayaragavan 350 Reputation points
commented 2024-05-22T13:26:46.78+00:00
Sowndarrajan Vijayaragavan 350 Reputation points
1 answer

Maui ios publish : Path's format not supported

Hello, I am encountering an issu when i am publishing, creating the archive of my maui application, i have the given error 16:02:09:546 Cannot create an IOS archive 'MT.TimeClean.Client.ForNative'. Process cannot be executed on XMA…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
commented 2024-05-22T12:28:22.44+00:00
Cyril Auquier 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to disable the font scaling for the Display alert's in Maui - iOS

Hello, Currently I'm disabling the font scaling in iOS by following this. https://learn.microsoft.com/en-us/answers/questions/1661536/how-can-i-prevent-the-device-font-size-effect-of-a Now I want to achieve the same functionality for the display…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-21T13:40:20.09+00:00
Vaibhav Methuku 60 Reputation points
accepted 2024-05-22T09:42:36.6766667+00:00
Vaibhav Methuku 60 Reputation points
0 answers

How to disable font scaling for alerts in MAUI - iOS

Hello, Currently I'm disabling the font scaling in iOS by following this. https://learn.microsoft.com/en-us/answers/questions/1661536/how-can-i-prevent-the-device-font-size-effect-of-a Now I want to achieve the same functionality for the display alerts…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-22T08:32:52.14+00:00
Vaibhav Methuku 60 Reputation points
0 answers

How to exclude some libraries to be trimmed in .NET 8 for Android, not MAUI?

I've been migrating my app from Xamarin.Android to .NET 8 and I'm getting some issues since I don't have an option to exclude some libs that existed in Xamarin: But in .NET 8 for Android in Visual Studio 2022, there is nothing like that: I tried to add…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,455 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 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,370 questions
asked 2024-05-21T14:10:40.6733333+00:00
Federico Navarrete 616 Reputation points
edited the question 2024-05-22T08:21:05.9066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
2 answers

.NET Maui support - Splash image size

I'm using .NET Maui and would like to add the splash screen. Now Maui uses a single svg file. Checking the Android documentation, there's a new size for the splash https://developer.android.com/develop/ui/views/launch/splash-screen for Android v12 and…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,685 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2023-06-12T15:09:51.0333333+00:00
Junior Saravia 20 Reputation points
commented 2024-05-22T07:43:57.49+00:00
Govind Mulleth 0 Reputation points
0 answers

.NET MAUI: The entire UI-Breaking

The entire UI is breaking on the content page, and when I try to go back to the previous page, it also doesn't work. These issues are only on the iOS platform; it is working fine on the Android platform. Below, I am adding a screenshot of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-21T07:29:41.2333333+00:00
Aleena George 20 Reputation points
commented 2024-05-22T07:01:04.56+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
0 answers

VS Nuget doesn't work with MAUI but does with WPF

I'm currently using Visual Studio Professional 2022 17.8.9. If I create a WPF project, I'm able to browse Nuget packages. However, if I create a MAUI project and try to browse Nuget, I get the following error message - [nuget.org] Unable to load the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,455 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,685 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-20T19:47:16.7166667+00:00
Surico, Joseph [CCC-OT] 0 Reputation points
commented 2024-05-22T05:42:44.5033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
1 answer

Maui app for Android how to get rid of this dialog

Hello All. I use Ver 17.10 preview 7 and android Ver 34. I get the following dialog (image) and when I cancel it all go OK But every time I build my app it's appears and I need to cancel it to continue the build task. Please how I can get rid of it. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,685 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-19T08:46:12.7066667+00:00
Haviv Elbsz 1,946 Reputation points
commented 2024-05-22T03:10:34.3566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
0 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,685 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 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,370 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 0 Reputation points
commented 2024-05-22T02:58:41.25+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
1 answer

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 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,370 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 206 Reputation points
commented 2024-05-22T01:47:57.72+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
1 answer

image do not show in .net android?

I add ImageView in activity_main.xml and set the src android:src="@mipmap/tab_index" but it is not show. just white .

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-19T15:06:04.2166667+00:00
mc 3,726 Reputation points
edited a comment 2024-05-22T00:52:37.56+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,792 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 25 Reputation points
commented 2024-05-22T00:26:56.3166667+00:00
HASSALL Michael 0 Reputation points
1 answer

.NET MAUI Animation doesn't work on Android platform

Animation doesn't work on Android platform on .NET MAUI. Code: <Image Source="spin.gif" IsAnimationPlaying="true" BackgroundColor="Black" ></Image> I don't have ideas why it doesn't work. For example,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2022-06-24T08:28:27.037+00:00
zc 51 Reputation points
commented 2024-05-21T16:47:54.2133333+00:00
Paul Kelley 0 Reputation points
0 answers

Gif can display animation on android when release ?

<Image Grid.Row="1" Source="sun.gif" IsAnimationPlaying="{Binding IsPlayGif}"/> IsPlayGif = false then set it true When debug it work well , then release it dose not work? Environment information: Android API31 VS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2023-05-22T08:51:08.33+00:00
Fei Xu 490 Reputation points
commented 2024-05-21T16:44:42.6666667+00:00
Paul Kelley 0 Reputation points
1 answer One of the answers was accepted by the question author.

how to edit border radius in TextView in .net android?

how to edit one corner radius (border radius) in TextView or LinearLayout? in activity_main.xml <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="#5663ff"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-21T05:30:44.6833333+00:00
mc 3,726 Reputation points
accepted 2024-05-21T13:49:07.0466667+00:00
mc 3,726 Reputation points
1 answer One of the answers was accepted by the question author.

Right way to dispose page with WebView in a MAUI app

I have a MAUI Android app (sample) with 2 pages, 1 home page and 1 page containing WebView. From home page user can go to the WebView page and open a site, come back to the home page and again go to WebView page to open other site, user can do this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2023-10-24T16:15:54.12+00:00
ac-lap 71 Reputation points
commented 2024-05-21T08:49:01.02+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
0 answers

App is not displaying in IOS physical device in Debug and Release mode in .net 8 maui

Hi everyone, I need some help regarding App icon and app not showing in IOS physical device while debugging or in release mode in Visual Studio. The app icon is set properly in both info.plist and .csproj file. Recently we migrated to Dot-Net 8. In .NET…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-05-15T11:27:33.5+00:00
Kalita, Nandini 0 Reputation points
commented 2024-05-21T08:22:23.52+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,026 Reputation points Microsoft Vendor
1 answer

Could you suggest anti-tampering solution for .NET MAUI mobile application ?

Hi all, Our team is facing with a challenge that applying anti-tampering solution for our .NET MAUI mobile application on both Android and IOS. We tried checksum bytes from assembly but it's not work on Android (IOS is normal working). Also, we tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,969 questions
asked 2024-04-08T07:46:33.6033333+00:00
Thinh Nguyen Viet 0 Reputation points
edited an answer 2024-05-21T07:40:27.5+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor