2,903 questions with .NET MAUI tags

Sort by: Updated
1 answer

MAUI Project Issues

I have added the MAUI workload in Visual Studio 2022 v17.3.0 Preview 1.1 and I have the following set of errors after creating my project. I have done the maui-check and it always ends with the following:

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,398 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-30T00:07:20.157+00:00
Trevoir Williams 1 Reputation point
answered 2022-05-30T09:53:31.07+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

Nuget Errors on restoring packages for Maui project on M1 Mac (trying to restore wrong arch libs)

I think I somehow messed up my Macbook Air M1 while removing old dotnet versions. With everything installed on release version or even the last RC I can restore and build any other template types such as web but when I do: dotnet new maui -n “MauiProj”…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-24T13:38:49.347+00:00
Jin 1 Reputation point
commented 2022-05-30T09:44:25.057+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

The RuntimeIdentifier platform 'win10-x64' and the PlatformTarget 'x86' must be compatible Error in MAUI

When I run the MAUI UWP application I am getting below error "The RuntimeIdentifier platform 'win10-x64' and the PlatformTarget 'x86' must be compatible" I am setting configuration to x86 and I am using Visual Studio Pro…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-23T04:52:14.557+00:00
Devi Prasad 91 Reputation points
accepted 2022-05-27T04:50:26.92+00:00
Devi Prasad 91 Reputation points
1 answer One of the answers was accepted by the question author.

Google Sign-in

Can I use Google Sign-in with MAUI? I found this example for Xamarin.Android: https://learn.microsoft.com/en-us/samples/xamarin/monodroid-samples/google-services-signinquickstart/

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-22T22:13:42.047+00:00
Mario Duarte 21 Reputation points
commented 2022-05-25T22:02:56.967+00:00
Mario Duarte 21 Reputation points
1 answer

Log4net set path

Hi, I used log4net for worker service and Maui app and I want to keep the log file near the exe, how is can be done ? Thanks in advance, <?xml version="1.0" encoding="utf-8" ?> <configuration> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
.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,125 questions
asked 2022-05-11T06:45:02.067+00:00
Dani_S 2,726 Reputation points
commented 2022-05-25T08:09:21.817+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

How I set header and footer to FlyoutPage ?

Hi, How I set header and footer to FlyoutPage ? FlyoutPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="FlyoutExample.Views.MyRootPage" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-22T05:11:37.97+00:00
Dani_S 2,726 Reputation points
commented 2022-05-24T09:30:30.543+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,451 Reputation points Microsoft Vendor
0 answers

macOS/iOS SecKeyChain

I'm trying to access the keychain to get the installed certificates, but it always returns null, I don't see the option to enable KeyChain Info.plist, I don't see the entitlements.plist file in net maui. I installed the pfx certificate on my macOS, but…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-12T11:08:50.787+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
commented 2022-05-24T08:56:20.967+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
0 answers

MSIX of MAUI app does not installed on Window server 2019

Hi, I search MSIX supported-platforms like following thread, it support on following versions of Windows: Windows 10, version 1709, and later. Windows Server 2019 LTSC and later. Windows Enterprise 2019 LTSC and later. …

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
728 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-16T09:49:39.85+00:00
Dani_S 2,726 Reputation points
commented 2022-05-24T03:59:54.803+00:00
Rob Caplan - MSFT 5,417 Reputation points Microsoft Employee
1 answer

MAUI -LOG4 Net is cross platform ?

Hi. Is LOG4 Net is cross platform ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-16T09:51:52.587+00:00
Dani_S 2,726 Reputation points
answered 2022-05-24T03:57:12.017+00:00
Rob Caplan - MSFT 5,417 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

MAUI- Package version numbering

Hi, How I set the package version numbering for MAUI ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-11T12:01:08.763+00:00
Dani_S 2,726 Reputation points
commented 2022-05-24T01:58:24.753+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,891 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MAUI - GA DATE

Hi, Can you please estimate when GA will be ? Is there another RC after RC3 or GA in front of us? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-23T18:20:29.383+00:00
Dani_S 2,726 Reputation points
accepted 2022-05-23T19:59:16.183+00:00
Dani_S 2,726 Reputation points
1 answer One of the answers was accepted by the question author.

For xmlns:behaviors="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" which NuGet packet I need to use ?

Hi, For xmlns:behaviors="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" which NuGet packet I need to use ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-02T07:55:25.05+00:00
Dani_S 2,726 Reputation points
accepted 2022-05-23T15:32:36.847+00:00
Dani_S 2,726 Reputation points
1 answer

Connect MAUI to Oracle Autonomous Database

Hi, Did anyone try to connect MAUI app to the oracle autonomous database? Can anyone guide please Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 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,286 questions
asked 2022-05-21T11:42:28.963+00:00
Jassim Al Rahma 26 Reputation points
answered 2022-05-23T07:54:46.773+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
0 answers

Build NET MAUI (Windows) on Azure Pipelines

I'm trying to build a multi-platform library on Azure Pipelines, but when try to compile NET MAUI for Windows give me a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-20T13:29:12.047+00:00
Osni Pezzini Junior 1 Reputation point
commented 2022-05-23T05:26:51.677+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

macOS/Windows AppLinks

I have a requirement that when the user visits a website protocol with certain parameters (appname:url.com/param1/param2), the desktop application must open and read those parameters, I know that this is possible on iOS/Android, on desktop too? where can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-11T07:16:44.433+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
accepted 2022-05-20T13:09:33.66+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
1 answer

How to gaussian blur an image in MAUI?

How to gaussian blur an image in MAUI?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-18T05:31:23.497+00:00
JiuLing 1 Reputation point
answered 2022-05-20T08:45:13.157+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

How to create custom control using Element and ElementHandler instead of View and ViewHandler?

Full code here. Check Menu folder in Handlers folder. I want to create a custom control Menu which is Android.Widget.PopupMenu on Android level. But I cannot use ViewHandler because PopupMenu inherits from Java.Lang.Object instead of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-06T10:54:00.653+00:00
Igor Kravchenko 281 Reputation points
commented 2022-05-20T08:19:21.397+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

what is the difference between FlyoutIcon and Icon

what is the difference between FlyoutItem.FlyoutIcon and FlyoutItem.Icon

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-18T15:01:24.557+00:00
景 胡 1 Reputation point
commented 2022-05-20T02:32:44.47+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to create ios handler?

I have created a Card control and handlers for it (CardHandler, CardHandler.Android and CardHandler.iOS). PlatformView in Android handler is Google.Android.Material.Card.MaterialCardView. In iOS handler PlatformView is UIView. But something is wrong…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-16T19:56:19.117+00:00
Igor Kravchenko 281 Reputation points
accepted 2022-05-19T08:00:04.023+00:00
Igor Kravchenko 281 Reputation points
1 answer One of the answers was accepted by the question author.

Getting Display Info with .NET MAUI on Windows Platform

I want to get Display Info in my .NET MAUI app such as screen width, height, pixel density, etc. A similar question was answered by @Anonymous about 4 months ago here but I get no values for the display parameters (only default 0's for int and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2022-05-16T07:59:11.867+00:00
dg2k 1,386 Reputation points
accepted 2022-05-18T09:51:36.457+00:00
dg2k 1,386 Reputation points