4,010 questions with .NET MAUI tags

Sort by: Updated
0 answers

Publish - Move to Framework Independent did not work

Hi, I have MAUI app in .NET 9. When making setup with installshield i first install dotnet runtime 9. and later include Maui app + WPF app + stand alone app- log decoder in one setup. The app call in runtime to WPF application using Process Info…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-17T11:05:45.7066667+00:00
Dani_S 4,251 Reputation points
0 answers

Dirty log in login

Hi, I used log4net. When login I got this errors in the log, what it come from? Thanks. 2025-03-12 15:25:00,516 [1] ERROR GssdDesktopClient.Maui.ViewModels.LoginViewModel - LoginCommand System.InvalidOperationException: PlatformView cannot be null here …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-12T13:28:18.6933333+00:00
Dani_S 4,251 Reputation points
commented 2025-03-17T09:20:09.1133333+00:00
Dani_S 4,251 Reputation points
0 answers

Blank space is showing after webview when loading new content in MAUI

I want to create a UI with a Label(title), image(saint image) and a webview(to show HTMl content). When scroll I want to scroll the entire item, not the webview contents only. After all these I need a section to show the audio player with previous, next…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-16T09:40:27.9533333+00:00
Sreejith Sreenivasan 961 Reputation points
commented 2025-03-17T08:07:33.52+00:00
Sreejith Sreenivasan 961 Reputation points
0 answers

. net maui uses Microsoft Data.SqlClients encountered an exception when directly connecting to SQL Server

Microsoft.Data.SqlClient.SqlException (0x80131904): Successfully established a connection with the server, but an error occurred during the login process。 (provider: TCP provider, error: 0 - Success) HttpClient can be accessed normally SQL Server has not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-02-21T00:38:46.83+00:00
Fans 0 Reputation points
edited a comment 2025-03-17T07:50:02.24+00:00
Fans 0 Reputation points
1 answer One of the answers was accepted by the question author.

Why MAUI app as Exe is big

Hi, Why MAUI app as exe is big on windows? it can be solved Please see https://app.screencast.com/BVvSAWCZnNh9e ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-13T15:40:13.0066667+00:00
Dani_S 4,251 Reputation points
accepted 2025-03-17T07:45:57.29+00:00
Dani_S 4,251 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.
4,010 questions
asked 2025-03-10T15:23:18.23+00:00
Dani_S 4,251 Reputation points
commented 2025-03-17T07:38:20.9666667+00:00
Dani_S 4,251 Reputation points
1 answer One of the answers was accepted by the question author.

Highlighting text within a editor

Hi, I'm using .Net 9 with MAUI. Highlighting text within a editor. The highlight is not released. Remains highlighted even after selecting other text. <telerik:RadBorder Grid.Row="2" Grid.Column ="0" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-12T11:20:07.41+00:00
Dani_S 4,251 Reputation points
accepted 2025-03-17T07:25:02.2866667+00:00
Dani_S 4,251 Reputation points
1 answer

Error loading font 'Assets/Fonts/Segoe UI.ttf'. on log

Hi, I have this error when running the MAUI as exe. I do not have this fonts on my app in RESOURCES/FONTS and not resister it. 2025-03-13 11:57:26,921 [1] ERROR Microsoft.Maui.FontManager - Error loading font 'Assets/Fonts/Segoe…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-13T10:01:37.4166667+00:00
Dani_S 4,251 Reputation points
commented 2025-03-17T07:07:46.53+00:00
Dani_S 4,251 Reputation points
1 answer

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.
4,010 questions
asked 2025-03-12T01:00:07.2266667+00:00
Steve Frase 45 Reputation points
commented 2025-03-17T06:55:58.92+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,161 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

How to create Custom Themed Toggle Switch [Switch Class] (Microsoft.Maui.Controls)?

How can we design a custom themed toggle switch in .NET Maui with .NET 9; As we know we can do it using C# to design the switch and call it in XAML If somebody knows, please share your thoughts on this topic. For reference I have shared two links of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-12T15:18:36.0533333+00:00
Soumyadip Majumder 110 Reputation points
edited an answer 2025-03-17T06:49:26.05+00:00
Soumyadip Majumder 110 Reputation points
1 answer

flipping card update

I have my card using CommunityToolkit.Mvvm.Messaging; using System.Diagnostics; namespace LiveTileControl.Controls { public partial class LiveTileControl : ContentView { private bool _isFlipping; private bool _isDataAvailable; //…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-12T23:15:05.47+00:00
Eduardo Gomez Romero 1,335 Reputation points
commented 2025-03-17T06:12:09.4033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,161 Reputation points Microsoft External Staff
0 answers

Control Not Visible on Smaller Screens or High-Scale Displays in MAUI

I have a custom control in my .NET MAUI application that is not visible under the following conditions: The screen size is less than 15.6 inches The resolution is lower than 1920 x 1080 The display scale is greater than 125% The control works…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-15T17:54:12.1433333+00:00
Rohan Savnani 0 Reputation points
commented 2025-03-17T05:58:08.2066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,771 Reputation points Microsoft External Staff
1 answer

Unable to debug in Mac in Code

I have a Macbook with OS Sequoria. Xcode version 16.2. When I tried installing MAUI .NET 9.0.200 and tried debugging in VS Code. I got the below error: System.UnauthorizedAccessException: Access to the path…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-13T09:00:35.2933333+00:00
Chinmay Dole 225 Reputation points
commented 2025-03-17T05:36:44.7733333+00:00
Chinmay Dole 225 Reputation points
0 answers

MAUI: How to update the webview height after loading new content

I want to implement the below UI in my MAUI application (header and footer sections are not added): Below is my code (header and footer sections are not added): Webview to show HTML content(with a background image), Audio frame with previous, play and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-16T09:44:59.9266667+00:00
Sreejith Sreenivasan 961 Reputation points
commented 2025-03-17T05:23:01.41+00:00
Sreejith Sreenivasan 961 Reputation points
2 answers One of the answers was accepted by the question author.

Maui app publish as EXE- steps in windows

Hi, I usually clean & rebuild my app in debug and later run this cmd : dotnet publish -f net9.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.
4,010 questions
asked 2025-03-13T16:07:10.6866667+00:00
Dani_S 4,251 Reputation points
accepted 2025-03-17T05:22:01.76+00:00
Dani_S 4,251 Reputation points
0 answers

Create an IPA from Windows MAUI iOS + Extensions

Hi, we have a MAUI project with iOS extensions. We can run them on emulators and create the IPA either in Visual Studio or Visual Code on a Mac. Due to dotfuscator issues, we need to create the IPA, but now from Windows! We can create the IPA using the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-03-14T22:08:03.59+00:00
DAVIS JIMENEZ PETER ALEXANDER 20 Reputation points
commented 2025-03-17T05:19:29.6333333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,161 Reputation points Microsoft External Staff
2 answers

Access Azure App Configuration from a MAUI Mobile App

We are developing a .NET MAUI mobile application for Android and iOS. It uses AD authentication. It talks to several backend APIs we created in Azure and behind APIM, requiring both tokens and subscription keys. We have an Azure App Configuration…

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
249 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2023-07-25T16:57:08.69+00:00
Safdie, BJ 0 Reputation points
commented 2025-03-17T05:01:47.7266667+00:00
yury michurin 0 Reputation points
1 answer

How to use Service Extension for UNNotificationServiceExtension with MAUI ?

I'm trying to implement iOS push notifications by following this guide: https://learn.microsoft.com/en-us/xamarin/ios/platform/user-notifications/enhanced-user-notifications At the end, there is "Implementing a Service Extension" which…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2022-06-14T20:08:27.127+00:00
Peter Bozovic 1 Reputation point
commented 2025-03-16T21:08:24.6266667+00:00
Wei Wen 1,126 Reputation points
0 answers

Is there a sample MAUI application to call c/c++ libraries that can be built from Windows and used on Windows, iOS and Android?

I am trying to convert my Xamarin.Forms mobile applications to MAUI. My applications depend on C libraries developed by government agencies (NOAA and USNO). For Xamarin.Forms I found a very good example for building a NuGet package from C library code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2025-02-21T16:50:34.97+00:00
Brian Johnson 0 Reputation points
edited a comment 2025-03-16T18:43:10.44+00:00
Brian Johnson 0 Reputation points
3 answers One of the answers was accepted by the question author.

34.0 is not a valid TargetPlatformVersion for Android. Valid versions include: 35.0

I changed the Target framework in my Android project properties from .NET 8.0 to .NET 9.0. But then I get this error: 34.0 is not a valid TargetPlatformVersion for Android. Valid versions include: 35.0 Is it necessary to change the Target OS version…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,010 questions
asked 2024-11-19T09:41:03.52+00:00
Kim Strasser 1,301 Reputation points
commented 2025-03-16T11:45:46.3033333+00:00
Scuroth 0 Reputation points