3,223 questions with .NET MAUI tags

Sort by: Updated
1 answer

Win11 VS2022 latest Preview Maui & iOS - 0xe8008015 (A valid provisioning profile for this executable was not found)

So, how exactly do I deploy the "Hello World" MAUI app to my iPhone? Here's what I tested / did: Deploying a "Hello World"-Swift project from XCode works. Also successfully paired the Mac to VS on Windows. I tried both…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,883 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-20T16:11:30.877+00:00
Johannes Hass 1 Reputation point
commented 2022-06-27T09:36:05.59+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
0 answers

How to change app icon based on the configuration in MAUI

My application is white label, so depending on the configuration I need to specify a different app icon. Right now if I select an app icon named differently from appicon and in a different folder than resources, it doesn't work. But this makes me…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-24T16:11:57.71+00:00
Manuele Lucchi 1 Reputation point
commented 2022-06-27T08:19:02.31+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,171 Reputation points Microsoft Vendor
0 answers

.NET MAUI Blazor Hybrid how to intercept open in new tab

I use await JSRuntime.InvokeAsync<object>("open", path, "_blank"); in the .razor pages, how I can intercept this and open: new tab in browse new page in the windows platform same page in the android/ios platform …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-07T09:11:19.863+00:00
Andrew Denha 1 Reputation point
commented 2022-06-27T08:13:45.717+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

.Net Maui StatusBar Control

Hi I have noticed that .Net Maui does not have a control equivalent to the WPF StatusBar control. What would be the best way to achieve this? I imagine that a row in a grid layout could be suitably styled, but I was wondering if there was a…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-24T08:10:36.13+00:00
Al 21 Reputation points
accepted 2022-06-27T07:51:08.59+00:00
Al 21 Reputation points
1 answer

ICanvas.DrawPath / ICanvas.FillPath ArgumentException

I am trying draw a filled polygon using IDrawable and PathF. I am getting an ArgumentException on canvas.FillPath or canvas.DrawPath, stating that "A call to CanvasPathBuilder.BeginFigure occurred, when the figure was already begun.". I am not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-26T09:49:08.6+00:00
Tim W 31 Reputation points
commented 2022-06-27T05:06:41.957+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,171 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Is there a sample MAUI application to call c++ libarary

I have a cross-platform library written with C++, I use this library to create model and display it with OpenGL. Now I'd like to choose MAUI to create a desktop application and call above library to complete interactions. Now I need a sample for…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,633 questions
asked 2022-06-13T02:36:40.78+00:00
Yang Yang 46 Reputation points
accepted 2022-06-25T01:04:09.937+00:00
Yang Yang 46 Reputation points
1 answer

Syntax for Border CorneRradius in Global Style

What is the proper way to set a .NET Maui Border StrokeShape of RoundRectangle with a CornerRadius of 2,2,2,2 in a Global styles resource XAML? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-07T19:51:38.397+00:00
Sam Basile 21 Reputation points
commented 2022-06-24T08:02:46.54+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,171 Reputation points Microsoft Vendor
1 answer

How to remove underline from Entry and caret from picker in maui for windows?

Setting the background for Entry removes the underline in Android but not in Windows. Have not found anyway to remove caret from end of Picker in windows.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-15T18:03:02.107+00:00
Jeff Pfahl 91 Reputation points
commented 2022-06-24T08:01:25.797+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,171 Reputation points Microsoft Vendor
0 answers

Is it possible to Provide the StringFormat value in a binding in Xaml from a property on the bindingContext?

When specifying a binding in Xaml I only seem to be able to provide a literal value for the StringFormat. I would like to define the format string on my binding context and have the binding use that.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-20T20:40:15.597+00:00
Jeff Pfahl 91 Reputation points
commented 2022-06-24T03:28:59.793+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,171 Reputation points Microsoft Vendor
0 answers

.Net Maui generating log files in my root directory

While I am running the debugger in an android emulator for some reason log files are added to the root of my project directory. How do I stop this from happening?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-22T14:28:57.773+00:00
JIren 1 Reputation point
commented 2022-06-23T08:08:14.833+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

When will Maui be available in VS 2022?

Having read many posts it seems like Maui is only available in beta versions of VS? Confused.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-21T13:37:40.193+00:00
Lloyd Sheen 1,476 Reputation points
commented 2022-06-21T14:53:25.25+00:00
Lloyd Sheen 1,476 Reputation points
1 answer One of the answers was accepted by the question author.

Android Deep Linking (Intents) Support in .NET MAUI

I am currently trying to add deep linking support (via Intents) to an Android application written using .NET MAUI. I have added an activity XML element under the application element in my AndroidManifest.xml: <?xml version="1.0"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-20T16:02:40.277+00:00
Devin Michael 21 Reputation points
accepted 2022-06-21T10:14:00.11+00:00
Devin Michael 21 Reputation points
1 answer

Entry in MAUI is blank in Android but has borders in iOS.

Entry/ Editor control is not uniform in MAUI iOS and Android versions of the same app. How to make it uniform.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-17T21:08:11.143+00:00
Parvez ali 6 Reputation points
commented 2022-06-21T07:43:02.667+00:00
Riccardo Minato 6 Reputation points
0 answers

Passing viewmodel properties as parameters in ValueConverters in .Net MAUI

I am trying to create a custom converter in .Net MAUI app but I am not able to pass ViewModel properties as parameter. This is my Xaml code. - <Button.BackgroundColor> <Binding Path="Category">…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-20T09:21:51.86+00:00
Parvez ali 6 Reputation points
commented 2022-06-21T07:35:31.86+00:00
Riccardo Minato 6 Reputation points
1 answer

How to remove Calendar icon from DatePicker in maui for windows?

Icon does not match our ui standard.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-16T22:08:53.44+00:00
Jeff Pfahl 91 Reputation points
commented 2022-06-21T06:58:27.193+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,141 Reputation points Microsoft Vendor
1 answer

MAUI set build action to bundleresource

In Xamarin.iOS, you are able to set a file's build action to BundleResource but I am not finding this in MAUI. I am trying to work with Firestore, and I have this fully functioning in Xamarin Forms but this small thing is blocking me on MAUI. Does…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-10T20:59:06.157+00:00
ohumidk 1 Reputation point
commented 2022-06-20T10:01:48.903+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Is there a way to use RenderTargetBitmap with MAUI Controls?

I want to export a MAUI control to an image. In WPF we have "RenderTargetBitmap". I tried to use it on MAUI but the method "RenderAync" need a Microsoft.UI.Xaml.UIElement" but the controls of MAUI are…

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.
750 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-09T08:45:41.46+00:00
José Luis Orihuela Conde 21 Reputation points
commented 2022-06-18T10:26:35.937+00:00
Ayush Raj 1 Reputation point
1 answer

.net MAUI app and WebPages

So I have built my first .net MAUI app. All things good. I would like to put on a webserver and run the app from a weblink on a webpage. Somewhat like the old SmartClient apps. How would I go about that? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-16T15:48:14.203+00:00
dodDev 1 Reputation point
answered 2022-06-17T19:22:57.72+00:00
Rob Caplan - MSFT 5,437 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Mapper Key seems to be arbitrary

When coding a mapping the key used does not seem to matter. Is there a case where the value matters. PickerBase can be any string and it still works. PickerHandler.Mapper.AppendToMapping("PickerBase", (handler, view) =>

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-16T17:46:57.55+00:00
Jeff Pfahl 91 Reputation points
accepted 2022-06-17T14:52:58.593+00:00
Jeff Pfahl 91 Reputation points
0 answers

How to remove the titlebar in MAUI (MacOS and Windows)?

How to remove the titlebar?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,223 questions
asked 2022-06-15T12:28:26.257+00:00
OBJECTSOCIAL 1 Reputation point
commented 2022-06-17T07:37:52.84+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,306 Reputation points Microsoft Vendor