16,437 questions with .NET-related tags

Sort by: Updated
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,005 questions
asked Mar 13, 2025, 9:00 AM
Chinmay Dole 225 Reputation points
answered Mar 13, 2025, 9:06 PM
Bruce (SqlWork.com) 72,356 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,005 questions
asked Feb 21, 2025, 4:50 PM
Brian Johnson 0 Reputation points
commented Mar 13, 2025, 7:25 PM
Brian Johnson 0 Reputation points
0 answers

Problem with Blazor InputSelect

I've been trying to learn Blazor and I've been working with a movie app tutorial that I got here: https://learn.microsoft.com/en-us/aspnet/core/blazor/tutorials/movie-database-app/?view=aspnetcore-9.0. I've added a lookup table with a "Star…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
22 questions
asked Mar 13, 2025, 7:24 PM
Rusty0918 0 Reputation points
1 answer

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,005 questions
asked Mar 13, 2025, 4:07 PM
Dani_S 4,191 Reputation points
commented Mar 13, 2025, 6:35 PM
Dani_S 4,191 Reputation points
1 answer

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,005 questions
asked Mar 13, 2025, 3:40 PM
Dani_S 4,191 Reputation points
commented Mar 13, 2025, 6:13 PM
Bruce (SqlWork.com) 72,356 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.
4,005 questions
asked Mar 11, 2025, 11:29 AM
Giorgio Sfiligoi 326 Reputation points
edited a comment Mar 13, 2025, 5:37 PM
Giorgio Sfiligoi 326 Reputation points
0 answers

WebView Navigated Event Not Triggered in .NET MAUI

I am experiencing an issue with the WebView control in my .NET MAUI app where the Navigated event does not fire after navigation. Here’s the scenario: The Source property of the WebView is set to a valid URL. I have subscribed to the Navigated event…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,005 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,005 questions
asked Dec 4, 2024, 9:00 AM
Manjunath Vadigeri 10 Reputation points
commented Mar 13, 2025, 2:42 PM
Jaboulay, Francois Gael 0 Reputation points
0 answers

WebView Navigated Event Not Triggered in .NET MAUI

I am experiencing an issue with the WebView control in my .NET MAUI app where the Navigated event does not fire after navigation. Here’s the scenario: The Source property of the WebView is set to a valid URL. I have subscribed to the Navigated event…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,005 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,005 questions
asked Dec 4, 2024, 9:00 AM
Manjunath Vadigeri 10 Reputation points
commented Mar 13, 2025, 2:42 PM
Jaboulay, Francois Gael 0 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,005 questions
asked Mar 10, 2025, 3:23 PM
Dani_S 4,191 Reputation points
edited a comment Mar 13, 2025, 1:55 PM
Dani_S 4,191 Reputation points
5 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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,005 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,340 questions
asked May 21, 2024, 4:58 PM
Mujtaba Ali Panjwani 25 Reputation points
answered Mar 13, 2025, 11:51 AM
Max Borrmann 5 Reputation points
0 answers

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,005 questions
asked Mar 13, 2025, 10:01 AM
Dani_S 4,191 Reputation points
0 answers

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,005 questions
asked Mar 12, 2025, 11:20 AM
Dani_S 4,191 Reputation points
commented Mar 13, 2025, 9:49 AM
Dani_S 4,191 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,005 questions
asked Mar 12, 2025, 1:28 PM
Dani_S 4,191 Reputation points
commented Mar 13, 2025, 9:49 AM
Dani_S 4,191 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,005 questions
asked Mar 12, 2025, 11:15 PM
Eduardo Gomez Romero 1,335 Reputation points
edited an answer Mar 13, 2025, 7:53 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,166 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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.
4,005 questions
asked Mar 10, 2025, 5:24 PM
Vaibhav Methuku 100 Reputation points
accepted Mar 13, 2025, 7:44 AM
Vaibhav Methuku 100 Reputation points
0 answers

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,005 questions
asked Mar 13, 2025, 7:31 AM
Vaibhav Methuku 100 Reputation points
2 answers

.Net 8.0.10 and 8.0.11 hosting bundle doesn't install components

I have downloaded and installed the .NET Core Hosting bundle for 8.0.10 on the windows sever 2019. In the past when installing this bundle it will install the following components: Microsoft .NET Runtime - version (x64) Microsoft .NET Runtime - version…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,199 questions
asked Mar 6, 2025, 5:31 PM
commented Mar 13, 2025, 6:25 AM
Jiachen Li-MSFT 33,781 Reputation points Microsoft External Staff
1 answer

Microsoft .NET Host -8.0.13 (x64) Popup

I keep getting a random popup with the header Microsoft .NET Host - 8.0.13 (x64) stating "The feature you are trying to use is on a network resource that is unavailable." It further states "Click OK to try again, or enter an alternative…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,199 questions
asked Mar 2, 2025, 2:53 PM
Steve Bailey 0 Reputation points
commented Mar 13, 2025, 6:25 AM
Jiachen Li-MSFT 33,781 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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.
4,005 questions
asked Mar 11, 2025, 5:26 PM
Kleber Ferreira 20 Reputation points
commented Mar 13, 2025, 2:44 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,691 Reputation points Microsoft External Staff
0 answers

how to draw this in .net.android

there is two points to one circle how to draw it? I am using canvas in OnDraw points:(p0x,p0y)and (p1x,p1y) and the center of the circle is (x,y) how to draw the line and the circle? I know how to draw circle but I do not want to draw the rest of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,005 questions
asked Mar 12, 2025, 2:29 PM
mc 5,186 Reputation points
commented Mar 13, 2025, 2:32 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,211 Reputation points Microsoft External Staff