3,369 questions with .NET MAUI tags

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

Assets file doesn't have a target for 'net6.0-android'

I tried to create a pipeline to build my .Net MAUI app on Azure DevOps. Besides the main MAUI project, the solution includes a UnitTests project with Target Framework .NET 6.0. The operation fails with the following error: Error NETSDK1005: Assets…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-06T20:41:00.977+00:00
Dmitriy Reznik 236 Reputation points
accepted 2022-09-13T10:34:49.74+00:00
Dmitriy Reznik 236 Reputation points
1 answer

TimePicker size .NET Maui

How set the time picker size in .NET Maui? When I use WidthRequest, it's look this: I would like to change size of the cells, but I don't know how to change it.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-06-13T11:17:58.017+00:00
zc 51 Reputation points
commented 2022-09-13T08:52:07.833+00:00
Ye Min Tun 1 Reputation point
1 answer

What's measn in maui "customize a control"

Hi all What's measn in maui "customize a control" is it means give it a native property that don't exist in Maui control or it's means that you can give it a property that that don't exist in native properties say I want…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 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,818 questions
asked 2022-09-08T11:23:42.077+00:00
Haviv Elbsz 2,071 Reputation points
commented 2022-09-13T08:34:29.367+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,081 Reputation points Microsoft Vendor
0 answers

.Net MAUI - CollectionView->SelectedItems property doesn't work properly on Windows

Hi! I'm working on a project with .Net MAUI, and I have some problems with the CollectionView item, binded with a List<string> already populated. The Binding on the "SelectedItems" property is with another List<string> already…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,440 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,031 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-08T10:36:03.223+00:00
Stefano Petri 1 Reputation point
commented 2022-09-13T08:30:26.99+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,081 Reputation points Microsoft Vendor
0 answers

install visual studio 2022 but denpendecy errors

I want to start the maui with the community 2022, and install related workloads with the installer tool. Then create the maui project, the error happens. I search on the brower, change the nuget source. But, this error continues. Can you help me…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-12T04:49:18.45+00:00
Gao 1 Reputation point
commented 2022-09-13T05:53:47.697+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,416 Reputation points Microsoft Vendor
0 answers

Blazor Hybrid Develop for older iOS Version

Hello, I want to make a hybrid app with Blazor Hybrid for iOS 6. The problem is, Blazor Hybrid supports iOS 14 and newer. There is Xamarin.iOS 6, but I have little experience with XAML etc. Questions: What is Blazor Hybrid based on?…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,549 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-10T01:05:49.127+00:00
Dev.ro 1 Reputation point
commented 2022-09-12T06:59:08.163+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,416 Reputation points Microsoft Vendor
0 answers

SIGABRT Microsoft_Maui_Platform_PageViewController

Hi, I have the below code in MAUI but I am getting this error when https://sentry.io/share/issue/99ac3148fb634c559a5fee99e37429c3/ Here is my code: async void cameraBarcodeReaderView_BarcodesDetected(System.Object sender,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 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,818 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,543 questions
asked 2022-09-11T18:57:08.553+00:00
Jassim Al Rahma 1,566 Reputation points
commented 2022-09-12T03:00:02.677+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 41,601 Reputation points Microsoft Vendor
2 answers

How to tie a Maui project to a specific version of Maui

With XF we have nuget packages and can build the right version every time in a more deterministic model (think CICD pipelines etc). With Maui, everything is workload based. How do we specify in the Maui projects what version of Maui to use?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-03T06:13:52.553+00:00
John Hair 371 Reputation points
commented 2022-09-11T10:03:31.907+00:00
John Hair 371 Reputation points
1 answer One of the answers was accepted by the question author.

Cannot debug my MAUI app using hot restart

I have a .Net MAUI app that I want to test and debug if needed on my iPhone without Mac. I found instructions on how this can be done here: https://video2.skills-academy.com/en-us/dotnet/maui/deployment/hot-restart But on the second step I get the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-25T17:22:04.817+00:00
Dmitriy Reznik 236 Reputation points
accepted 2022-09-09T14:10:40.643+00:00
Dmitriy Reznik 236 Reputation points
1 answer

SecureStorage and Preference between Class and App

Hi, I have a MAUI Class Library where I set a SecureStorage value: SecureStorage.SetAsync("TempStorage", "My Name is Jassim"); but when I try to read it in my MAUI App: DisplayAlert("TempStorage",…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-30T13:55:58.07+00:00
Jassim Al Rahma 1,566 Reputation points
commented 2022-09-08T09:14:40.223+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,081 Reputation points Microsoft Vendor
1 answer

DLL Not Found "libpsl-native" whilst attempting to create Powershell remote connection object (MAUI/BLAZOR/XAMARIN)

I wonder if anyone could help me with a problem I am experiencing in Visual Studio 2022 on the MAUI platform (although I have also tried Xamarin and Blazor platforms too). When I attempt to create a powershell remote connection object I receive the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,031 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-06T13:12:28.637+00:00
Karl McNally 1 Reputation point
answered 2022-09-08T08:15:16.137+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,416 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Android emulators

Is there a way to use android emulators if your pc specs are too low?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-29T14:59:42.857+00:00
Mielesplayz 286 Reputation points
accepted 2022-09-08T06:39:51.12+00:00
Mielesplayz 286 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI swipe recogniser not fier

This is my page the swipe recogniser not fier Please what I miss <?xml version="1.0" encoding="utf-8" ?> <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,369 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,818 questions
asked 2022-09-04T09:12:01.997+00:00
Haviv Elbsz 2,071 Reputation points
commented 2022-09-08T04:22:11.08+00:00
Haviv Elbsz 2,071 Reputation points
0 answers

MAUI app to run on Windows Start up

Hi! I'm currently trying out MAUI for Windows desktop and i noticed that i can't run the .exe which is on the published folder (later i noticed that it is specified in the Microsoft MAUI docs). So my question is the following: Is there any way i…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-06T15:24:36.863+00:00
Francisco Goñi 1 Reputation point
commented 2022-09-07T08:27:30.76+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,416 Reputation points Microsoft Vendor
1 answer

Restrictions on using ".NET MAUI"

We plan to develop using ".NET MAUI". ".NET MAUI" doesn't need "source code disclosure" or "copyright notice", right? ".NET MAUI" has no intellectual property related issues, right? My boss is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-06T10:03:19.51+00:00
takashi 26 Reputation points
answered 2022-09-07T03:32:47.037+00:00
Rob Caplan - MSFT 5,442 Reputation points Microsoft Employee
1 answer

How to bind to {Binding} and use converter

I need to use a converter in Maui, the problem I am having is the XAML to which I using the converter can bind individually to properties but when I try to use it with just {Binding , convertername ---- I get an XAML parsing error. The XAML that…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-06T14:14:45.283+00:00
Lloyd Sheen 1,476 Reputation points
answered 2022-09-06T14:23:38.36+00:00
Lloyd Sheen 1,476 Reputation points
1 answer One of the answers was accepted by the question author.

Is it possible to make a label update as soon as a variable changes?

I want to update the text on a label as soon as the variable connected to it updates. And if possible I want to avoid making loops to save resources. (For example: I have a string which shows your username on it, and when you change your username…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-05T09:15:58.25+00:00
Mielesplayz 286 Reputation points
commented 2022-09-06T10:25:59.687+00:00
Mielesplayz 286 Reputation points
1 answer

How to get a Layout object (such as Grid or StackPanel) from LayoutPanel object?

I am migrating Xamarin code to .NET MAUI. I am using PlatformEffect to capture the RightTapped event for WinUI. The equivalent is done for other platforms such as Android by using the SwipeView Control. Shown below are partial XAML code and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-09-05T14:21:50.677+00:00
dg2k 1,391 Reputation points
commented 2022-09-06T08:44:29.817+00:00
dg2k 1,391 Reputation points
3 answers

how to request permission of nearby device on Android

Bluetooth need permission nearby device on android 12 - API 31+ [create extending permissions for location, nearby device] [request extending permissions] This picture is what i did for request permission work with location…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 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,818 questions
asked 2022-09-05T08:24:17+00:00
Jae 6 Reputation points
answered 2022-09-06T07:08:40.113+00:00
Jae 6 Reputation points
1 answer

How to get Content in MAUI Class Library?

Hi, I have below code in my MAUI Class Library but the name Content does not exists Kindly help.. namespace TempMAUIClass; using Microsoft.Maui.Controls; // All the code in this file is included in all platforms. public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-26T15:02:58.237+00:00
Jassim Al Rahma 1,566 Reputation points
commented 2022-09-06T06:56:59.49+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,416 Reputation points Microsoft Vendor