3,134 questions with .NET MAUI tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Navigation help with .Net Maui app

I am trying to figure out a way to navigate. Right now I have the main page as a shell page with some content, from here I launch Tabbed Page sections, there are several and each page contains 5-6 tab pages. This does not work in Android as you can't…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 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,562 questions
asked 2024-06-27T20:48:22.0333333+00:00
Phunction 226 Reputation points
accepted 2024-06-28T23:30:30.77+00:00
Phunction 226 Reputation points
1 answer

Deploying MAUI Android but getting iOS errors!

I am porting a project from XF to MAUI. I am trying to build a Signle Project Class Library that has TargetFrameworks of <TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks> I have Android and iOS specific files under…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,814 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-28T17:08:33.76+00:00
Pat Long 36 Reputation points
answered 2024-06-28T17:17:27.96+00:00
Bruce (SqlWork.com) 60,201 Reputation points
1 answer One of the answers was accepted by the question author.

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.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.
3,134 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 3,186 Reputation points
commented 2024-06-28T13:30:35.76+00:00
Dani_S 3,186 Reputation points
1 answer

Other map than Google Maps

Hi I have a children app that is all about music and dancing for kindergarden kids. In one of the pages we ha a world map where we put out pins for opening songs and to show where they come from. I used the google maps plugin in Xamarin and it worked…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-27T09:41:00.17+00:00
Magnus Wallon 0 Reputation points
answered 2024-06-28T03:02:07.2133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,221 Reputation points Microsoft Vendor
3 answers

Error CS0246: The type or namespace name 'MauiUIApplicationDelegate' could not be found (are you missing a using directive or an assembly reference?)

Hi i am all of sudden getting this error message in my MAUI project after upgrading Visual Studio Mac.... How to fix it? Error CS0246: The type or namespace name 'MauiUIApplicationDelegate' could not be found (are you missing a using directive or an…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-02-16T10:26:31.4433333+00:00
SSB 111 Reputation points
commented 2024-06-27T23:08:25.6966667+00:00
EmDe 21 Reputation points
1 answer One of the answers was accepted by the question author.

How can I play a video from a folder in my iOS project with the native iOS AVPlayer?

I want to add a video file, for example an .mp4 file, to my iOS project. Can I create a folder named Resources in my iOS project, adding the .mp4 file into this folder and playing it with AVPlayer? How can I play a video from my iOS project instead of a…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,814 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-25T22:54:11.0433333+00:00
Kim Strasser 811 Reputation points
accepted 2024-06-27T22:01:15+00:00
Kim Strasser 811 Reputation points
1 answer One of the answers was accepted by the question author.

Open and close access to USB and Cdrome

Hi, I want to build client on Maui on windows that do the following things. In computer that has no antivirus. When client is loading it will close all the access to USB and Cdrome through registry. And when user insert USB or Cdrome the system identify…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-24T03:51:37.24+00:00
Dani_S 3,186 Reputation points
accepted 2024-06-27T17:20:41.0766667+00:00
Dani_S 3,186 Reputation points
0 answers

Binding Problems

So my project is devided into parts Service public class WeatherService(HttpClient client) : IWeatherService { public async Task<Root> GetWeatherDataByCoords(double lat, double lon) { var responseMessage = await…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-26T20:32:33.0233333+00:00
Eduardo Gomez Romero 225 Reputation points
commented 2024-06-27T08:42:54.5766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
0 answers

No compatible code running on the thread

I know what is causing this, but the solution evades me, because many of the answers are "I upgraded to the next VS version", which is not helpful. What is causing this: I have a class (record) that overrides the AutomationId property of a UI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-21T14:09:08.9533333+00:00
Russell Hires 0 Reputation points
commented 2024-06-27T08:19:22.5+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
0 answers

GoToAsync Failed With Java.Lang.IllegalStateException

In my ViewModel, I had a relaycommand to navigation another page: [RelayCommand] public async Task ReviewIt () { ... await Shell.Current.GoToAsync(nameof(ReviewItView), new Dictionary<string, object>{ ["key1"] = value1, …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-21T19:12:56.94+00:00
Fan Yang 0 Reputation points
commented 2024-06-27T07:06:02.2166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
2 answers

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,134 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.
201 questions
asked 2024-06-06T06:15:17.2966667+00:00
Krishna Kishore Bandaru 0 Reputation points
commented 2024-06-27T06:02:24.3166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,221 Reputation points Microsoft Vendor
1 answer

My app icon is not displayed correctly on iOS. But my app icons are in AppIcon.appiconset

I have added my app icons on my iMac to my iOS project in Assets.xcassets-->AppIcon.appiconset. After that I copied my iOS project to my Windows 11 laptop and then I paired Visual Studio with my iMac to debug the iOS project on my iPad. But the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-23T11:51:42.26+00:00
Kim Strasser 811 Reputation points
commented 2024-06-27T05:22:43.7633333+00:00
Liqun Shen (Shanghai Wicresoft Co Ltd) 160 Reputation points Microsoft Vendor
1 answer

Multiple apps in one project

Hi, is it possible to have one project with multiple apps inside that share most of the code? I have some educational apps wich have different content based on the api they call but they all have common code for excercises etc.. In Xamarin I had them…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-26T13:24:29.92+00:00
Magnus Wallon 0 Reputation points
answered 2024-06-27T02:59:04.7733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,221 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,134 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,562 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 5 Reputation points
edited a comment 2024-06-26T18:22:21.07+00:00
Olen Kirkland 0 Reputation points
1 answer One of the answers was accepted by the question author.

.NET Maui: Can‘t access image from ContentView

Hello, i have trouble trying to access View (image) in C# code. .NET Maui is used, now migrating from Xamarin Forms. Maybe someone will be able to help me. So what I have done: 1.       Created root folder “MyTemplates” in my “AngryFish” project. 2.    …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-25T19:23:35.9966667+00:00
AAA BBB 21 Reputation points
commented 2024-06-26T14:09:10.1966667+00:00
AAA BBB 21 Reputation points
1 answer

Issues in running the MAUI app in Macbook

We created a MAUI app using version .Net8.0. We are trying to debug/run the app by connecting Visual Studio to Mac, but we are encountering issues debugging the app. The pipeline is functioning as expected. Specifically, we're facing an issue with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-25T05:57:13.5833333+00:00
Srilekha Chowdary 40 Reputation points
commented 2024-06-26T10:51:24.9133333+00:00
Patil, Sunil 0 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to make full screen splash in .NET MAUI

How can I make splash to display in full screen instead of just at the center of the mobile screen in .NET MAUI? I've tried different base sizes, but not working. Target android version up-to 13. <ItemGroup> <MauiSplashScreen…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 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,562 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
781 questions
asked 2024-06-11T04:27:11.4933333+00:00
Md Mosabbir Alam 20 Reputation points
commented 2024-06-26T09:50:54.4266667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
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,134 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.
961 questions
asked 2024-06-06T05:55:04.53+00:00
Joel Leo 0 Reputation points
edited a comment 2024-06-26T09:07:48.7333333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor
0 answers

Nunit in .net maui

We are trying to use Nunit/xunit in our project. Due to some dependencies with the other nuget packages, we are unable to run the test cases and giving errors. We are using Zebra.Printer.SDK- Version="3.0.3271" because of this we are unable to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-24T11:05:29.27+00:00
Keerthana Krishna 60 Reputation points
commented 2024-06-26T05:51:08.48+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,221 Reputation points Microsoft Vendor
1 answer

How to run background tasks in .net Maui Windows App

Greetings, I am trying to run a back ground task in my .net Maui windows applicaion. I tried using IBackgroundTask interface. The task is registerd successfully, but it does not run when triggred. I've tried the same exact code with UWP (Blank UWP for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-25T09:10:41.27+00:00
Iyad Alomar 0 Reputation points
answered 2024-06-26T03:08:48.36+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,221 Reputation points Microsoft Vendor