Microsoft Q&A

.NET MAUI

1,841 questions

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.

Browse all .NET tags

1,841 questions with .NET MAUI tags

Sort by: Updated
0 answers

Is there some way to get VS 2022 to stop closing my Maui app with no reason/no error in VS?

The last few days I am getting VS closing my app in the Android emulator for no apparent reason. If I plug in my phone and do testing from there I don't get the problem. I have gone thru the horrible process of trying to re-init the emulator but it…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,773 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-23T20:36:49.8033333+00:00
Lloyd Sheen 1,191 Reputation points
commented 2023-09-23T20:58:10.5233333+00:00
Lloyd Sheen 1,191 Reputation points
2 answers

.net maui fully custom splash screen

I am working on . net maui splash screen but there are android 12 and later issues. So I can not set splash screen like make image like previous android versions. But I want and set it image that has contents on all screen. I have seen many splash…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,146 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-22T18:15:18.9866667+00:00
Haider Ali Faizi 20 Reputation points
answered 2023-09-23T20:14:03.4266667+00:00
Haider Ali Faizi 20 Reputation points
0 answers

How to fix System.NullReferenceException in WinUI3 Maui using UNO with Miui on Android 13 33?

I am working on a multiplatform program using WinUI3 and UNO with Miui, following the Microsoft lessons. However, I am encountering the error "System.NullReferenceException: 'Object reference not set to an instance of an object.'" on my Android…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
599 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
165 questions
asked 2023-09-23T16:20:16.87+00:00
гвоздик дима 0 Reputation points
0 answers

How i can retrieve youtube subtitles on a MAUI project

Im trying to find a way to retrieve youtube subtitles for a MAUI project i would love to make, sofar i cant find a nuget package for this job and it seems the only way/hack to do that is this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-23T15:55:43.4733333+00:00
Christopher Drosos 1 Reputation point
1 answer One of the answers was accepted by the question author.

Android issue when compiling for 'deploy'

When compiling for deploy I get error (full log attached): "C:\Program Files (x86)\Android\android-sdk\platform-tools\adb" -s emulator-5554 uninstall -k "com.companyname.randoPro" The -k option uninstalls the application while…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,773 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
165 questions
asked 2023-09-23T08:24:18.71+00:00
Eduard Kaufmann 191 Reputation points
accepted 2023-09-23T15:35:53+00:00
Eduard Kaufmann 191 Reputation points
0 answers

MAUI extensions not available on visual studio 2022

I have Visual Studio v 17.7.4 and Visual Studio Preview v 17.8.0 and have recently installed the MAUI suite.  I am not given the option to create multi-platform apps as I assume I would on VS or VSP. I have gone through previous iterations of the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,773 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-17T23:15:46.5933333+00:00
Reabetswe Marumane Mogoswane 0 Reputation points
commented 2023-09-23T10:50:32.44+00:00
Reabetswe Marumane Mogoswane 0 Reputation points
1 answer

How can I get the Material You design in my Maui app on Android?

When running my app on android, the controls are of Material design 2, while the latest is 3 - Material You. Can I in some way update the android part of the project to support the latest design?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-22T12:15:07.9133333+00:00
Noam 0 Reputation points
answered 2023-09-23T10:44:26.0333333+00:00
Krew Noah 0 Reputation points
1 answer

In Blazor MAUI with a shared UI library, navigation doesn't work

In a shared blazor library, login page and sample page are defined. Here is the Minimum Reproducible Example: https://github.com/johnmangam/ShellNavigation/ Login.razor @page "/login" @inject NavigationManager navigationManager <button…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-22T16:27:50.62+00:00
John Mangam 0 Reputation points
answered 2023-09-23T10:42:41.0333333+00:00
Krew Noah 0 Reputation points
2 answers

How to secure API KEY in .net MAUI?

I am new to .Net MAUI but fairly experienced with ASP.NET CORE and Blazor. I'm developing a MAUI application that will allow a user to integrate with third-party services using API keys. My issue is, I'd like to store API Key securely and nobody can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 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.
8,962 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
241 questions
asked 2022-10-16T08:11:56.553+00:00
ASAD ALAM 1 Reputation point
commented 2023-09-22T19:32:52.27+00:00
Dmitriy Reznik 231 Reputation points
1 answer

.NET Maui: how do you process low memory notifications from iOS

iOS sends warnings to an app when it approaches its memory limit. How do you process those warnings in a .NET Maui app? (I see that for Android, .NET Maui supports delegates OnApplicationLowMemory and OnApplicationTrimMemory, but I do not see any such…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-06T02:48:46.1+00:00
Kurt K 96 Reputation points
commented 2023-09-22T16:58:38.1833333+00:00
Kurt K 96 Reputation points
2 answers

Visual Studio for Mac support .NET 7.0 Bindings to Xcode 15?

Hello, we are in the middle of porting our Xamarin Forms application to .NET MAUI and need to know if Visual Studio for Mac will support .NET 7 binding for Xcode 15, and if so, do you have information about a release date?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,773 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-20T18:19:55.8+00:00
Miguel Jimenez 0 Reputation points
commented 2023-09-22T16:08:26.3633333+00:00
Bruce (SqlWork.com) 44,076 Reputation points
1 answer One of the answers was accepted by the question author.

Pdf file creation

Hello Friends. I am trying to create a Pdf by using a service in .Net Maui. At the code below it throws a System.NullReferenceException. Can someone tell me what might be going on. Thanks…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 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.
8,962 questions
asked 2023-09-20T00:44:08.1933333+00:00
Ronald Rex 1,311 Reputation points
accepted 2023-09-22T15:52:32.14+00:00
Ronald Rex 1,311 Reputation points
1 answer

.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.
3,773 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-06-12T15:09:51.0333333+00:00
Junior Saravia 20 Reputation points
commented 2023-09-22T09:28:09.15+00:00
Jockey Zheng 0 Reputation points
1 answer One of the answers was accepted by the question author.

ContentPage not (anymore) showing via 'url'

after some VS/w11 updates, a simple/static 'ContentPage' (MotivationPage) does not show anymore (see attached.png) PS: All other functions in the App work ok! Of course I do NOT exclude any changes I made ....! But I'm not aware of! environment: VS…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,773 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-21T07:45:40.49+00:00
Eduard Kaufmann 191 Reputation points
edited the question 2023-09-22T07:44:01.2633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,751 Reputation points Microsoft Vendor
1 answer

Fix .NET MAUI entry special characters not displayed

Hello, I just started using .NET MAUI and I followed this tutorial for beginners: https://www.youtube.com/playlist?list=PLdo4fOcmZ0oUBAdL2NwBpDs32zwGqb9DY. In this tutorial, the main view contains an entry and a button next to it to add the text in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-04T14:50:54.1366667+00:00
Arthur Pierrot 0 Reputation points
commented 2023-09-22T06:52:45.0233333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,751 Reputation points Microsoft Vendor
1 answer

.Net MAUI app unable to run on Windows server 2016 machine

Hi Team, I am working on Visual Studio 2022 on windows server 2016 machine. I have created a new .Net MAUI project, while running it( by selecting windows machine), getting below error - dep0600: deployment failed. entrypointnotfoundexception - unable…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,773 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-06T17:59:50.5266667+00:00
salilsingh-9961 221 Reputation points
commented 2023-09-22T06:50:13.8366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,751 Reputation points Microsoft Vendor
1 answer

Publish - omit multi languages folders

Hi, When publishing Maui app as exe it create these folder(320 MG). What are these folder ? if i do not use multi- languages, it can be avoided through publish action ? My publish command is: dotnet publish -f net7.0-windows10.0.19041.0 -c Release…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-14T08:32:19.04+00:00
דני שטרית 1,181 Reputation points
commented 2023-09-22T06:04:48.9166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,751 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to view the pdf file from MAUI?

I need to view the pdf file in my MAUI application. Dedicated popup page to view my pdf file with Zoom, pan controls Target platform - Windows

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-06-18T15:25:30.0433333+00:00
Sowndarrajan Vijayaragavan 250 Reputation points
commented 2023-09-22T05:50:45.86+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,751 Reputation points Microsoft Vendor
0 answers

How to customize everyone Tab in TabBar

For example, I want create Shell with TabBar. BG of TabBar must be blue, and BG of Current Tab in TabBar must be orange. How can I do it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-21T06:41:01.4666667+00:00
Иван Константинов 0 Reputation points
commented 2023-09-22T04:26:09.2866667+00:00
Иван Константинов 0 Reputation points
0 answers

Opening pdf file from url

Hi I am using this code to open a pdf file from a url; var DocPath = "http://mydomain.com/Docs/MyDoc.PDF"; Launcher.TryOpenAsync(new System.Uri(DocPath)); However I am getting the 'Cannot display PDF (MyDoc.PDF cannot be opened)' error. Tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,841 questions
asked 2023-09-21T04:12:32.6833333+00:00
-- -- 796 Reputation points
commented 2023-09-22T03:25:29.4266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,196 Reputation points Microsoft Vendor