3,412 questions with .NET MAUI tags

Sort by: Updated
0 answers

FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handler is not set on element

I'm doing a MAUI migration in my own project and I'm stumbling with the following error, please support me. FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Handler is not set on element Let's talk about when this error occurs. We are…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,799 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-05T07:11:42.9566667+00:00
水元 翼 0 Reputation points
commented 2024-09-03T07:24:23.6166667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,666 Reputation points Microsoft Vendor
0 answers

Severity Code Description Project File Line Suppression State Error error MT1045: Failed to execute 'devicectl': 'devicectl -j /var/folders/rl/ptx9jbl54m78d99cmrr1c1tw0000gp/T/tmpLC5jC6.tmp device install app --device iPhone /Library/Caches/Xamarin/mtbs/

Cant get to deploy to my physical IOS device , I have a mac locally and visual studio is on a virtual machine setup , While , Iam able to deploy to the ios emulators , I get the same error when I tried to deploy to my device. using visual studio 2022…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 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.
987 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.
215 questions
asked 2024-08-02T01:29:03.0466667+00:00
Pamela Rios 0 Reputation points
commented 2024-09-03T07:15:06.96+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,666 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Move from NET 8 to NET 9

Hi, I have maui app on computer of windows in VS Version17.8.4 in NET 8 ,what I need to do in order to move to NET 9 ? I have maui app in other computer(mac) in VS Code ,what I need to do in order to move to NET 9? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-09-02T10:01:08.1833333+00:00
Dani_S 3,746 Reputation points
accepted 2024-09-03T06:28:41.0133333+00:00
Dani_S 3,746 Reputation points
1 answer

How can I use Visual Studio 2022 to generate a simple Android app?

I am running Windows 11 and have Microsoft Visual Studio Community 2022 (64-bit) Version 17.11.2. I want to use it to develop a simple Android app using C#. The tutorial I am following tells me to go to the installer, select Modify, then under Workloads…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,043 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 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,844 questions
asked 2024-09-03T03:25:14.46+00:00
PeeJay48 0 Reputation points
edited an answer 2024-09-03T05:52:09.5866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui toolkit popup window size controling

Hello all. I built a toolkit popup according the Microsoft doc. and I want that the width of the popup window to fill the screen width. How I do that. I tried horizontal option fill but that's not working. Thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2023-08-24T14:03:14.2+00:00
Haviv Elbsz 2,071 Reputation points
commented 2024-09-03T05:45:08.2933333+00:00
shalin 0 Reputation points
0 answers

MainActivity base.OnCreate() crush

The app is running on MAUI. When the app is in the background, the movement differs between the task being turned off and the state where it is not. If the task is in the background and the task is turned off, when the push notification comes, when the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,799 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-30T07:09:25.5466667+00:00
水元 翼 0 Reputation points
commented 2024-09-03T02:48:45.2966667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,001 Reputation points Microsoft Vendor
1 answer

Is there hot reload support on MAUI Blazor Hybrid App

Is there anyway i can trigger changes to running Blazor Hybrid App while debugging it? It's really annoying needing to rebuild whole project when i change smth

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-27T11:17:49.5866667+00:00
Mikael Häggblom 0 Reputation points
commented 2024-09-03T02:12:24.6+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,001 Reputation points Microsoft Vendor
1 answer

Build mobile and desktop apps with .NET MAUI Create a cross-platform app with .NET MAUI learning

The "Create a cross-platform app with .NET MAUI" PhoneWord learning module is great, but somewhat confusing. I am sufficiently experienced in C#, but when mixed with XAML it becomes a challenge. Please, add the final working project (or a…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,043 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-09-02T07:54:53.3166667+00:00
Sam Tal 21 Reputation points
answered 2024-09-03T02:10:14.7533333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,666 Reputation points Microsoft Vendor
1 answer

Will microsoft.maui.graphics receive ongoing support?

I am trying to create a controls library for .NET MAUI for developers that have over 30+ controls for .NET MAUI. My goal is to allow developers to easily customize all the controls. The controls have high performance and pixel perfect on all the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-24T17:58:32.0166667+00:00
Shahid khan 20 Reputation points
commented 2024-09-03T02:02:11.3333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,491 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to include custom entitlements when publishing an iOS app?

I"m following this document and it appears that the section of Custom Entitlements is gone. I've seen people have reported this issue but no possible solution or workarounds to be…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,043 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-31T23:12:33.7633333+00:00
Jay 40 Reputation points
accepted 2024-09-02T15:48:48.7033333+00:00
Jay 40 Reputation points
0 answers

How to Set Initial Two Tab left align and last Two Tab Right Align in MAUI TabbedPage

I have a TabbedPage in MAUI .Net API 34 Visual Studio 2022 I am loading Collection Class Data in TabbedPage with Content ItemTemplate. I have more than 7 records in collection class repository. Initially I am loading Two record and then on next Tab…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-29T08:30:09.68+00:00
Faiz Quraishi 85 Reputation points
commented 2024-09-02T14:22:54.0866667+00:00
Faiz Quraishi 85 Reputation points
1 answer

Picker does not gain focus on iOS

Hi I am currently migrating our Xamarin app to MAUI. But there are multiple problems, we face time after time. The most we can solve by some workarounds. But this time, I don´t know if there is a workaround. The problem is, when tapping on our…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-08T11:50:53.3066667+00:00
Maximilian Grabner 5 Reputation points
commented 2024-09-02T10:00:58.28+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,666 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

flayout navigation - how to deal with rasing memory?

Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,746 Reputation points
commented 2024-09-02T07:18:56.71+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,491 Reputation points Microsoft Vendor
0 answers

Undefined symbols for architecture arm64 Error, while using Native libraries in MAUI iOS

Hi, We are working on MAUI.iOS migration project from Xamarin.iOS. In Xamarin.iOS we have used few iOS Native libraries(.a files). The Xamarion.iOS project was working fine. But we used the native libraries in MAUI.iOS project we are getting below build…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-30T10:22:37.5066667+00:00
Niladri Padhy (ZEN3 INFOSOLUTIONS AMERICA INC) 0 Reputation points Microsoft Vendor
commented 2024-09-02T07:14:22.7433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,666 Reputation points Microsoft Vendor
0 answers

datepicker events

I would like the object to become invisible again when the user clicks cancel, or to become invisible returning the selected day when he clicks ok but I couldn't figure out which event to use for these two buttons

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 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,844 questions
asked 2024-08-29T08:22:39.2533333+00:00
MacSlacky 61 Reputation points
commented 2024-09-02T06:49:05.67+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,001 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Delayed Update of Navbar Title and TabBar Background Color in .NET MAUI on Android When Switching Tabs

I'm working on a Xamarin Forms migration to .NET MAUI project where I'm encountering an issue with delayed updates to the Navbar title and Navbar background color when switching tabs on an Android device. its working as expected in the Xamarin Forms I…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,336 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 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,844 questions
asked 2024-08-29T12:54:33.38+00:00
Omkar Pawar 20 Reputation points
commented 2024-09-02T04:25:26.6866667+00:00
Omkar Pawar 20 Reputation points
1 answer

Error APPX1101: [UWP] Payload contains two or more files with the same destination path: Microsoft.Web.WebView2.Core.dll

Installed Visual Studio 2022 (on a clean/fresh Windows 11 installation) version 17.10.0 Installed Microsoft.Identity.Client.Desktop Nuget package to open sign in within the window application. After that I'm getting "Found multiple publish…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,799 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 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,844 questions
asked 2024-07-15T10:48:23.1366667+00:00
Ravi Khandale 5 Reputation points
commented 2024-08-30T16:31:39.48+00:00
60856927 46 Reputation points
0 answers

Firebase Crashlytics is not logging error in Maui .net 8.0 ?

MainPage.xaml.cs ================ private void OnCounterClicked(object sender, EventArgs e) { _firebaseCrashlyticsService.Log(new Exception ("test")); try { count++; if (count == 1) CounterBtn.Text = $"Clicked…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-28T12:32:19.2466667+00:00
Debasis Patra 0 Reputation points
commented 2024-08-30T03:12:41.1733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,001 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

platform specific maps

I already install Microsoft.Maui.Controls.Maps NuGet package and CommunityToolkit.Maui.Maps and register my Api key and everything work for Android and for Windows, and configure mauiProgram public static MauiApp CreateMauiApp() { var builder…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-29T01:54:20.8366667+00:00
Eduardo Gomez Romero 405 Reputation points
accepted 2024-08-30T00:08:47.2666667+00:00
Eduardo Gomez Romero 405 Reputation points
2 answers One of the answers was accepted by the question author.

Getting error cannot implicitly convert from one Class to other

Classes Questionping and I Questionpin are same , but still I get error saying cannot implicitlyconvert Questionping to IQuestionpin @inject NavigationManager Navigation @using System.Text; @using System.Net.Http.Headers; @using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
asked 2024-08-29T11:49:18.96+00:00
Kalyan A 125 Reputation points
accepted 2024-08-29T16:49:10.7166667+00:00
Kalyan A 125 Reputation points