3,028 questions with .NET MAUI tags

Sort by: Updated
0 answers

Sharpie Binding Error.

Hai, I'm trying to bind an objective C/Swift ios static library with maui binding project. I'm getting the following error when i use the command line to generate the binding for me. It is not very clear as to what is causing is error. Kindly guide me…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
958 questions
asked 2024-06-06T05:55:04.53+00:00
Joel Leo 0 Reputation points
commented 2024-06-07T09:54:33.9566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,516 Reputation points Microsoft Vendor
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.
3,028 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
commented 2024-06-07T09:41:53.3433333+00:00
Akshay Kumar Sharma 0 Reputation points
2 answers

Search bar glass in MAC is not working

Hi, Search bar glass in MAC is not working. <HorizontalStackLayout Grid.Row="1" Grid.Column="0" Margin="10,10,0,5" HorizontalOptions="Start" WidthRequest="285"> <SearchBar …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-06-05T07:13:28.81+00:00
Dani_S 3,006 Reputation points
edited an answer 2024-06-07T09:02:10.0966667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,516 Reputation points Microsoft Vendor
2 answers

MAUI Splashscreen

How to create custom splascreen in .net maui?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,496 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-05-30T07:46:16.76+00:00
Yogita Magdum 0 Reputation points
commented 2024-06-07T08:29:41.6966667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,266 Reputation points Microsoft Vendor
1 answer

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.
3,028 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,441 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 0 Reputation points
edited the question 2024-06-07T06:05:13.8466667+00:00
Anna Xiu-MSFT 27,016 Reputation points Microsoft Vendor
0 answers

Can not sign app bundle Google Play

Hello, I am appriciate if some one can help me figure out what problem, this is first time I use Net Maui to deploy Android app. I create new app on Play Console, and choose Use Google-generated key to create new key in Setup/**App signing **I notice…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-05-04T12:18:31.3333333+00:00
Kid 0 Reputation points
edited the question 2024-06-07T05:57:34.3733333+00:00
Anna Xiu-MSFT 27,016 Reputation points Microsoft Vendor
0 answers

How to activate front camera in MAUI using Media Picker?

Hello... I need to allow my MAUI app users to take a selfie, so that, I need to activate front camera. When using MediaPicker.Default.CapturePhotoAsync rear camera is used. Any help, please? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-06-06T20:21:19.8266667+00:00
Jaime Stuardo 66 Reputation points
commented 2024-06-07T04:01:19.24+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,311 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui for Android specific code learning

Hello All . protected override MauiApp CreateMauiApp() { // Remove Entry control underline Microsoft.Maui.Handlers.EntryHandler.Mapper.AppendToMapping("NoUnderline", (h, v) => { h.PlatformView.BackgroundTintList =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-06-06T07:19:26.53+00:00
Haviv Elbsz 1,986 Reputation points
edited an answer 2024-06-07T03:03:55.51+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,311 Reputation points Microsoft Vendor
1 answer

Can we create native iOS XCFramework & Android jar files using c# maui code base?

Team, Our plan is to generate iOS XCFramework & Android jar files using c# maui code base to re-use the functionality written in c#. How to generate such libraries. When I tried to generate the library using VS for Mac, I got dll & pdb files,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
194 questions
asked 2024-06-06T06:15:17.2966667+00:00
Krishna Kishore Bandaru 0 Reputation points
answered 2024-06-07T02:55:40.4633333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,266 Reputation points Microsoft Vendor
1 answer

How can I record the screen of my iOS/Android device in Visual Studio?

I have .NET 8.0 iOS and Android projects in Visual Studio (Windows) and I use .NET MAUI NuGet packages in my projects. I want to record the screen of my iOS/Android game when I debug the project on my iOS/Android tablet. How can I record the screen of my…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,736 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-06-06T12:37:47.9133333+00:00
Kim Strasser 666 Reputation points
answered 2024-06-07T02:00:18.1466667+00:00
Bruce (SqlWork.com) 58,856 Reputation points
0 answers

Get all drives in MAC ?

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 3,006 Reputation points
commented 2024-06-06T21:46:02.3266667+00:00
Bruce (SqlWork.com) 58,856 Reputation points
1 answer

removable drive seen in debbugger although i filter it.

hi, i used this code and i see removable drive in debugger, why? I used mac. DriveInfo[] drives = DriveInfo.GetDrives(); drives = drives.Where(drive=> drive.DriveType != DriveType.Removable && drive.DriveType !=…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-05-30T11:56:43.41+00:00
Dani_S 3,006 Reputation points
commented 2024-06-06T17:37:17.2866667+00:00
Bruce (SqlWork.com) 58,856 Reputation points
1 answer One of the answers was accepted by the question author.

.NET MAUI: Why do I get an "Invalid color" error when drawing a pattern using the GraphicsView?

Only when drawing a pattern, I get the following error in the console: "Invalid color: colored pattern specified with uncolored pattern color space." The drawn pattern looks fine, despite the error. After setting up the pattern to draw, the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-06-04T00:44:54.67+00:00
Kurt K 116 Reputation points
accepted 2024-06-06T17:22:32.5033333+00:00
Kurt K 116 Reputation points
2 answers

I am getting a "Requests from this IP are not allowed" when trying to signin/signup to Entra ID for external providers

I am trying to follow the tutorial in the link https://learn.microsoft.com/en-us/entra/external-id/customers/tutorial-mobile-app-maui-sign-in-sign-out ... I have created the UserFlows ., but when running the app , I get a "Requests from this IP are…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,992 questions
asked 2024-05-27T02:42:10.6966667+00:00
Srinath Nanduri 0 Reputation points
edited an answer 2024-06-06T15:58:40.0866667+00:00
Jason Keimig 0 Reputation points
1 answer

Object reference not set to an instance of an object. [mono-rt] at FFImageLoading.Maui.CachedImage.SetupOnBeforeImageLoading

I am getting below exception when loading my MAUI application. System.NullReferenceException: 'Object reference not set to an instance of an object.' [mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-06-05T08:13:02.5633333+00:00
Sreejith Sreenivasan 751 Reputation points
answered 2024-06-06T15:42:47.9266667+00:00
Sreejith Sreenivasan 751 Reputation points
1 answer

How to handle internet connection in MAUI WebView

I have created MAUI app with webview. In webview I am call website url. If the interconnection is lost I want to show message internet connection is lost. MainPage.xaml <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-01-04T10:01:22.7866667+00:00
kamlakar khanapure 0 Reputation points
edited a comment 2024-06-06T07:55:12.2866667+00:00
Josy 0 Reputation points
1 answer

My listview is listing only the id instead of 3 items on the table

PLEASE HELP ME I am working on sqlite database , i have the following code in c# maui return (await conn.Table

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
709 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 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,441 questions
asked 2024-05-28T15:40:05.35+00:00
Gbenga Banuso Odumosu 40 Reputation points
edited the question 2024-06-06T06:34:54.62+00:00
Rakesh Gurram 4,320 Reputation points Microsoft Vendor
0 answers

When device is locked/using another app, if Navigation occurs it will fail and leave a blank page.

In android, if the user decides to lock their device, the app shows blank page if the navigation happens during this period. In my scenario we are popping the page. I am using .net 8 Please let me know if you need any other details. thanks in advance.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-06-05T12:14:30.1033333+00:00
Keerthana Krishna 40 Reputation points
commented 2024-06-06T06:28:11.65+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,311 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to fix Error CS0029 Cannot implicitly convert type 'void' to 'System.Collections.Generic.List

var user = from u in conn.Table

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 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,441 questions
asked 2024-05-07T00:20:57.27+00:00
Gbenga Banuso Odumosu 40 Reputation points
edited the question 2024-06-06T06:08:58.18+00:00
Rakesh Gurram 4,320 Reputation points Microsoft Vendor
1 answer

Ensuring Database Updates on Form Closure: Troubleshooting for Mac.

When I attempt to insert details into the database upon closing the form or upon its disappearance event, the code doesn't execute as expected. However, the same code executes properly when triggered by a button click or when the form appears. I need…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,028 questions
asked 2024-05-06T12:03:23.94+00:00
Sarfaraz Sable 20 Reputation points
commented 2024-06-06T01:44:58.3866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,516 Reputation points Microsoft Vendor