4,015 questions with .NET MAUI tags

Sort by: Updated
0 answers

MAUI: Firebase Analytics iOS.

I'm trying to configure the Firebase in my library project, but when the sample project references the library project, I get an error when compiling. (Not when compiling the library, but the project.) I'm using Xamarin.Firebase.iOS.Analytic and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,015 questions
asked 2025-03-19T09:33:15.8866667+00:00
NickNN 40 Reputation points
edited the question 2025-03-19T09:34:58.7733333+00:00
NickNN 40 Reputation points
1 answer

"Missing Info.plist value. The Info.plist key 'BGTaskSchedulerPermittedIdentifiers' must contain a list of identifiers used to submit and handle tasks when 'UIBackgroundModes' has a value of 'processing'

I am trying to upload my maui ios app on transporter and getting this error: what i have tried so far is <key>BGTaskSchedulerPermittedIdentifiers</key> <array> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,015 questions
asked 2025-03-19T06:04:54.2266667+00:00
Aayush Rawat 0 Reputation points
answered 2025-03-19T08:14:51.28+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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,015 questions
asked 2025-03-16T09:44:59.9266667+00:00
Sreejith Sreenivasan 981 Reputation points
accepted 2025-03-19T06:33:01.99+00:00
Sreejith Sreenivasan 981 Reputation points
1 answer One of the answers was accepted by the question author.

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,015 questions
asked 2025-03-16T09:40:27.9533333+00:00
Sreejith Sreenivasan 981 Reputation points
accepted 2025-03-19T06:32:45.3633333+00:00
Sreejith Sreenivasan 981 Reputation points
1 answer One of the answers was accepted by the question author.

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,015 questions
asked 2025-03-12T13:28:18.6933333+00:00
Dani_S 4,271 Reputation points
edited a comment 2025-03-19T06:16:51.72+00:00
Dani_S 4,271 Reputation points
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,015 questions
asked 2025-03-17T11:05:45.7066667+00:00
Dani_S 4,271 Reputation points
commented 2025-03-19T02:58:50.91+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
0 answers

Publishing MAUI Project on Windows: Grayed Out Option

I want to publish my MAUI project on the Windows platform, but the publishing option is grayed out. What steps can be taken to resolve this issue? Here's my C# project configuration: <Project…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,015 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.
11,334 questions
asked 2024-10-05T14:00:54.4366667+00:00
Smith Tom 65 Reputation points
commented 2025-03-19T02:37:40.41+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,536 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

NAVIGATION WITH WINDOWS MACHINE

I have a program where the MainPage contains a menu: <TableView Intent="Menu"> <TableRoot> <TableSection> <TextCell Text="Welcome" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,015 questions
asked 2025-03-17T17:51:36.04+00:00
Giorgio Sfiligoi 326 Reputation points
accepted 2025-03-18T12:14:02.69+00:00
Giorgio Sfiligoi 326 Reputation points
1 answer

.NET MAUI iOS Release Build Requires Developer Mode to be Enabled on Physical Device

I have developed a .NET MAUI iOS application and successfully created an .ipa file using a release certificate and provisioning profile. However, when attempting to install the app on a physical device, I encounter the following error: "This app…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,015 questions
asked 2025-03-18T06:47:20.95+00:00
Aayush Rawat 0 Reputation points
commented 2025-03-18T09:48:45.78+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer

Selected Item Binding is not working for the Picker.

Hello, I had picker, I want to explicitly bind the selected item. I mean before the user selection iteself i want to display an item in the picker. here is my picker. <Picker x:Name="languageSelectionPicker" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,015 questions
asked 2025-03-18T04:46:30.7366667+00:00
Vaibhav Methuku 140 Reputation points
commented 2025-03-18T06:25:33.08+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,931 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Picker.Focus() Not working in Windows - MAUI

Hello, I had a layout, Basically on tapping on that layout, I want to focus my picker. Unfortunately. picker.focus() is not working. Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,015 questions
asked 2025-03-13T07:31:30.59+00:00
Vaibhav Methuku 140 Reputation points
accepted 2025-03-18T06:17:45.9766667+00:00
Vaibhav Methuku 140 Reputation points
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.
4,015 questions
asked 2025-03-04T16:58:37.46+00:00
Vaibhav Methuku 140 Reputation points
commented 2025-03-18T05:24:10.9433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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,015 questions
asked 2025-03-13T09:00:35.2933333+00:00
Chinmay Dole 245 Reputation points
accepted 2025-03-18T04:19:21.0433333+00:00
Chinmay Dole 245 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,015 questions
asked 2025-02-21T00:38:46.83+00:00
Fans 0 Reputation points
edited a comment 2025-03-18T02:32:56.91+00:00
Fans 0 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,015 questions
asked 2025-03-13T10:01:37.4166667+00:00
Dani_S 4,271 Reputation points
commented 2025-03-18T02:03:23.0333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,536 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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,015 questions
asked 2025-03-12T01:00:07.2266667+00:00
Steve Frase 65 Reputation points
accepted 2025-03-17T15:57:30.28+00:00
Steve Frase 65 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,015 questions
asked 2025-03-13T15:40:13.0066667+00:00
Dani_S 4,271 Reputation points
accepted 2025-03-17T07:45:57.29+00:00
Dani_S 4,271 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,015 questions
asked 2025-03-10T15:23:18.23+00:00
Dani_S 4,271 Reputation points
commented 2025-03-17T07:38:20.9666667+00:00
Dani_S 4,271 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,015 questions
asked 2025-03-12T11:20:07.41+00:00
Dani_S 4,271 Reputation points
accepted 2025-03-17T07:25:02.2866667+00:00
Dani_S 4,271 Reputation points
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,015 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