Microsoft Q&A

.NET MAUI

1,076 questions

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.

Browse all .NET tags

1,076 questions with .NET MAUI tags

Sort by: Updated
0 answers

CommunityToolkit.Maui.Storage.FileSaver on iOS strange

I have the latest release version of CommunityToolkit.Maui (5.0.0). When I run CommunityToolkit.Maui.Storage.FileSaver in my app on iOS I get a strange user interaction. The window shown looks like that in the iOS_FileSaver.png image attached. The…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-03-26T16:35:16.08+00:00
Eigil Krogh Sorensen 41 Reputation points
edited a comment 2023-03-27T04:26:56.18+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,366 Reputation points Microsoft Vendor
2 answers

How do I add a data entry control inside of the ListView.

I am trying to add a data entry control called Entry Cell inside of a ListView so that the user can enter data that I can save to the Database. I get the error... A value of type 'EntryCell' cannot be added to a collection or dictionary of type…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 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.
7,565 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.
600 questions
asked 2023-03-24T19:30:03.5933333+00:00
Ronald Rex 591 Reputation points
edited an answer 2023-03-27T03:18:11.2+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 43,931 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Samples for Xamarin.iOS projects should be upgraded to .NET SDK-style projects in Xamarin Support Policy

I developed a cross-platform applications with Xamarin.iOS.framework and Xamarin.Mac.framework and Mono.framework. I found some anxious information in https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin. I want to know what's the quickest…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-03-20T02:48:22.8133333+00:00
Sun, Tracy (LNG-SHA) 20 Reputation points
commented 2023-03-27T03:12:17.3833333+00:00
Sun, Tracy (LNG-SHA) 20 Reputation points
1 answer

NET MAUI - Keep keyboard focused on ListView update

I have a ListView with an ObservableCollection of Database Entries. When I update the Observable collection the focus of the Entry get lost and the keyboard disappears. Even when i set the focus afterwards manually the keyboard does not appear. Thats my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 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.
7,565 questions
asked 2023-03-25T02:46:35.54+00:00
Leon Schimmel 0 Reputation points
edited an answer 2023-03-27T03:10:35.8766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,366 Reputation points Microsoft Vendor
1 answer

Can you please tell me how to animate the CommunityToolkit.Maui's Expander control for opening and closing it slowly?

I would like to show some hidden tips with a simple implementation of CommunityToolkit.Maui.Views.Expander control -- such as using a Label control as its content. It would be visually nice if the Expander opens and closes slowly, say with some Easing…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 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.
7,565 questions
asked 2023-03-24T18:56:05.75+00:00
dg2k 896 Reputation points
commented 2023-03-27T01:18:58.5566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,366 Reputation points Microsoft Vendor
1 answer

How to use NET MAUI releases with different NET versions

I am working on small tool using NET MAUI, but I am struggling to understand Microsoft's way of working on NET versions. While working on my tool, I have came up with certain bugs and reported them to Microsoft. Now they have fixed them. However I am…

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.
7,565 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-03-26T14:31:48.4366667+00:00
mrw 181 Reputation points
answered 2023-03-26T15:58:12.6533333+00:00
Bruce (SqlWork.com) 31,256 Reputation points
0 answers

This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug.

After uploading app bundle on google play it's showing this warning "This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-03-26T13:55:50.31+00:00
Md Delower Hossain 0 Reputation points
1 answer

Net Maui CollectionView, Image Source

I have a CollectionView in .Net Maui, and this collectionview has items as Label and Image, ImageSource i am getting from URL, also I have bottom tabs, and when I am switching tabs and come back to parent tab, all images are lost in collectionview

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-03-26T13:22:06.6733333+00:00
answered 2023-03-26T13:51:30.09+00:00
Sedat SALMAN 495 Reputation points
0 answers

how to Clear Cookies not working on WebAuthenticator when Sign out

I am using Open ID Connect for sign in/out. i follow this link https://community.abp.io/posts/integrating-maui-client-via-using-openid-connect-aqjjwsdf After successful sign in, i sign out, then sign in again WebAuthenticator automatically logs me in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-02-23T08:26:27.1033333+00:00
Nam Pham 41 Reputation points
commented 2023-03-26T06:38:49+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,366 Reputation points Microsoft Vendor
0 answers

Blazor MAUI blank screen on iOS

I have a Blazor Hybrid MAUI App that works great on Android. However, when I compile my code (both from VS and from dotnet publish in Azure Pipeline) to iOS the app just shows my splash screen and then shows a blank white screen (both on Simulator and on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 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.
7,565 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
882 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
882 questions
asked 2023-03-11T21:32:28.0133333+00:00
The Blazor Engineer 0 Reputation points
commented 2023-03-26T01:45:38.1766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,366 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to localizae application display name of iOS developed with .NET MAUI?

Display name is localized on android in (Resources\values) folder and it works as expected. However, I can't get it to work with iOS. What have been done: In info.plist make sure there is this code …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-03-16T12:23:51.11+00:00
Muhab Abdulraheem 21 Reputation points
commented 2023-03-26T01:16:49.2666667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,366 Reputation points Microsoft Vendor
1 answer

Maui android layout content to fite in screen size

Hello all. How I can ensure that my layout content fit in any device screen. I test my app in my phone and it's ok but how I can be sure that it will fit in any other android device. I know I can use scrollview. but I want to know if it possible to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-03-25T19:11:24.9633333+00:00
Haviv Elbsz 666 Reputation points
answered 2023-03-25T19:20:28.8066667+00:00
Erkan Sahin 470 Reputation points
0 answers

Why is Maui's "Colors.xml" not found building with Visual Studio Mac but is with Visual Studio Windows?

Using VS Mac 17.6 Preview 2, building a MAUI application, it is responding with "Resource "Resources/Styes/Colors.xml" not found (XFC0124)" as an error. Building the exact same code, just copied to the Mac for its build, with VS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,784 questions
asked 2023-03-21T18:20:33.5833333+00:00
Marc George 66 Reputation points
edited a comment 2023-03-25T15:15:24.2533333+00:00
Marc George 66 Reputation points
1 answer One of the answers was accepted by the question author.

Why .Net 8.0 does not show up as Traget Framework for a new .NET MAUI App on Mac?

I have installed both Visual Studio 2022 for Mac v17.6 Preview and .NET 8.0, all successfully installed. Platform: MacBook Pro, x64 (2.2 GHz, 6-core Intel Core i7, 16GB/256GB), macOS Ventura Version 13.1 I've also successfully run dotnet workload install…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,784 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
882 questions
asked 2023-03-25T13:20:50.44+00:00
dg2k 896 Reputation points
accepted 2023-03-25T13:30:30.2133333+00:00
dg2k 896 Reputation points
1 answer One of the answers was accepted by the question author.

ContentView add GraphicView can display in android and not display in windows ? bug?

<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:drawables="clr-namespace:myMolly.Drawables" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,784 questions
asked 2023-03-14T15:48:50.56+00:00
Fei Xu 20 Reputation points
accepted 2023-03-25T12:41:13.1466667+00:00
Fei Xu 20 Reputation points
1 answer One of the answers was accepted by the question author.

Perform (Create, Read, Update, and Delete) operations on a ListView in .Net Maui

Hi Friends. I have a ListView in a Content Page that I would like the user to be able to Perform (Create, Read, Update, and Delete) operations on in .Net Maui. Thanks in advance for for any help.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 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.
7,565 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.
600 questions
asked 2023-03-24T17:03:06.4733333+00:00
Ronald Rex 591 Reputation points
commented 2023-03-24T21:14:11.83+00:00
Ronald Rex 591 Reputation points
0 answers

Net7 Maui Unable to load DLL 'Microsoft.ui.xaml.dll'

In Visual Studio, using Net7, when debugging project it runs fine. If I go to the directory and run the exe I get the following message in application log "Exception Info: System.DllNotFoundException: Unable to load DLL 'Microsoft.ui.xaml.dll' or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
882 questions
asked 2023-03-24T12:51:21.5833333+00:00
Shermak, Carl (C.E.) 20 Reputation points
commented 2023-03-24T13:35:50.28+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,366 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to Access the Property Setter with CommunityToolkit.Mvvm which is backed by Automatic Source Code Generation?

I am changing my binding properties to the simplified CommunityToolkit.Mvvm pattern backed by automatic source code generation, and tagged with the [ObservableProperty] attribute, hence: The new way: [ObservableProperty] bool…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 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.
7,565 questions
asked 2023-03-24T11:13:43.1333333+00:00
dg2k 896 Reputation points
accepted 2023-03-24T13:03:29.5166667+00:00
dg2k 896 Reputation points
1 answer

How can I send a raw message in .net maui for android, no compiling sample found

Hello, I would like to find a sample project in .net MAUI for android to send a raw message via USB, no compiling sample found. I found this project which work well on pAX IM30 Android 7.1 : https://github.com/kai-morich/SimpleUsbTerminal I would like…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 questions
asked 2023-03-24T10:40:28.3333333+00:00
Julien Duprat 0 Reputation points
edited an answer 2023-03-24T13:03:04.87+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 17,366 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can the CommunityToolkit.Maui.MediaElement be used in Code-behind?

I can use the CommunityToolkit.Maui.MediaElement to play an audio file in XAML. I understand this control can also play video but my need is just to provide an audio prompt from within a code behind. I tried the following which compiles okay, but nothing…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,076 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.
7,565 questions
asked 2023-03-23T15:15:37.37+00:00
dg2k 896 Reputation points
accepted 2023-03-24T06:25:30.0666667+00:00
dg2k 896 Reputation points