3,244 questions with .NET MAUI tags

Sort by: Updated
1 answer

How to archive and publish in Visual Studio Mac and MAUI

Hi, I have a MAUI app that i am migrating from Xamarin. Am using Visual Studio Mac for this for now until I can find a suitable replacement. I am ready to release to app store and google play, previously I would do Build > Archive for Publishing and…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,900 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-12T08:17:42.0233333+00:00
SSB 111 Reputation points
commented 2024-07-30T01:32:38.8866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,561 Reputation points Microsoft Vendor
1 answer

Want to use .net 6 in Visual Studio 2022 maui

I learned that .net 8 is not going to be supported in IOS so I want to start using .net 6 in Visual Studio 2022 Maui. I can't use .net 6 in visual studio because it's not supported anymore. I downloaded .net 6 manually but my .net version is stuck at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,662 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,412 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,900 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 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,142 questions
asked 2024-07-22T06:57:52.2066667+00:00
Ertuğrul Gazi KÖKSALDI 0 Reputation points
commented 2024-07-30T01:31:11.7566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,561 Reputation points Microsoft Vendor
1 answer

What is the replacemet of WindowInfoTracker in Mauii

I am using WindowInfoTracker in Xamarin to detect if the device is foldable or not, and if it is foldable, I want to know if it is folded or half folded itc. I don't see any replacement of this in Maui. If there is any alternative, I would like to know…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-23T01:18:00.68+00:00
khatauli 1 Reputation point
commented 2024-07-30T01:29:43.7633333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,561 Reputation points Microsoft Vendor
2 answers

Connection string issue

Hi, What kind of file can be inserted, regarding Connection string, into Maui App?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,662 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 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,663 questions
asked 2024-07-16T06:07:51.48+00:00
Peter_1985 2,586 Reputation points
edited a comment 2024-07-30T00:49:11.4+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,491 Reputation points Microsoft Vendor
1 answer

I can't run MUAI release build on Android devices

I'm developing a MAUI application. During development I was able to run it from Visual Studio without any problems in debug mode. Now that I have to send it to the customer I tried to run it in release mode, and it turns out that I can't run it.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-29T10:19:01.87+00:00
Jalza 781 Reputation points
answered 2024-07-29T21:37:06.71+00:00
Bruce (SqlWork.com) 61,811 Reputation points
1 answer One of the answers was accepted by the question author.

Why are GestureType.Tap and afterwards GestureType.DoubleTap executed when I make a doubletap?

In my game the player needs to tap on the iOS/Android display screen to make a gameplay action. If the player taps once then I want to make a gameplay action. But when the player makes a doubletap then I want to make a different gameplay action. The…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,900 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-25T13:06:09.25+00:00
Kim Strasser 896 Reputation points
accepted 2024-07-29T10:14:18.79+00:00
Kim Strasser 896 Reputation points
1 answer

What is the replacement of Android.Support.V7.Graphics.palette in Maui world

Hi Maui experts, I have a following piece of code in Xamain app, which I want to port over to Maui, but don't seem to find the alternative. The intent is to extract the main theme color from the bitmap image. Any ideas? palette =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-26T16:13:10.8666667+00:00
khatauli 1 Reputation point
edited an answer 2024-07-29T09:35:28.43+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,571 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

An ImageButton with rounded corners does not display well

I am developing an application in .NET MAUI using Visual Studio 2022. Generally it works fine, but at some point something got corrupted and a particular button on a screen is not displayed correctly. The XAML code would be as follows: <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-18T10:58:16.9666667+00:00
Jalza 781 Reputation points
commented 2024-07-29T09:35:16.83+00:00
Jalza 781 Reputation points
1 answer

How long has the player tapped on the iOS/Android display screen? How can I measure the time?

In my game the player needs to tap on the iOS/Android display screen to make a gameplay action. I want to find out how long the player pressed his finger against the display screen. For example, if the player pressed his finger 1 second on the screen…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,900 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-22T14:08:15.7066667+00:00
Kim Strasser 896 Reputation points
commented 2024-07-29T09:05:04.67+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,561 Reputation points Microsoft Vendor
0 answers

MAUI .NET 8 iOS - Method not found: SkiaSharp.SKMatrix SkiaSharp.SKMatrix.MakeTranslation(single,single)

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. I am facing an exception as below when loading the SVG image, Unhandled Exception: System.MissingMethodException: Method not found: SkiaSharp.SKMatrix…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-27T10:06:34.74+00:00
Aneetha 65 Reputation points
commented 2024-07-29T08:19:10.6+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,561 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Media file picker features in .NET MAUI like in Xamarin Forms

Hi, Is there any way to compress the image and remove the metadata option for the media picker in MAUI like it had in the below package? https://github.com/jamesmontemagno/MediaPlugin

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-15T08:47:32.7+00:00
Chinmay Dole 160 Reputation points
commented 2024-07-29T07:14:23.5533333+00:00
Sgt David A Tartaglia 0 Reputation points
1 answer

Unnessary folders after pulish in windows

Hi, Which folder are no need after publish : dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-17T08:51:34.1133333+00:00
Dani_S 3,336 Reputation points
commented 2024-07-29T06:51:05.55+00:00
Dani_S 3,336 Reputation points
1 answer

Toggle Speakerphone using Button UI on Android 13

There are many posts that show how to activate a speakerphone for Android 10. Those methods fail to work on Android 12 and higher. This question was posted on the Xamarin Community without a resolution. Does .Net MAUI have a solution.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-29T03:14:20.6666667+00:00
Peace Man 1 Reputation point
answered 2024-07-29T06:41:37.07+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,571 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to convert memory stream to FileResult

I had asked to compress the image file in the following link:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-22T11:35:58.1533333+00:00
Chinmay Dole 160 Reputation points
accepted 2024-07-29T03:38:25.0066667+00:00
Chinmay Dole 160 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI .NET 8 iOS - Span TapGestureRecognizer not working

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. In iOS, the span text TapGestureRecognizer is not working. gesture_Tapped event is not triggered. var sp2 = new Span { Text = "Click here"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-19T05:10:43.3166667+00:00
Aneetha 65 Reputation points
accepted 2024-07-27T09:22:00.7533333+00:00
Aneetha 65 Reputation points
2 answers

System.IO.FileNotFoundException: '' when running app after deployment to Android device

Hi I have suddenly started getting 'System.IO.FileNotFoundException: ''' error. Have deleted bin and obj folders and ran Clean but no luck. How can I fix this please? Thanks Regards

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2023-09-06T16:47:44.3733333+00:00
-- -- 897 Reputation points
answered 2024-07-27T05:15:22.9566667+00:00
Venus Graph 0 Reputation points
0 answers

Navigation.PopAsync() is giving Java.Lang.IllegalArgumentException: 'No destination with ID 57 is on the NavController's back stack. The current destination is Destination(0x6) class=crc6452ffdc5b34af3a0f.NavigationViewFragment'

Hi, I have pushed a page into navigation stack using private async void OnAddDeviceTapped(object sender, EventArgs e) { Devices = new ObservableCollection<Test.Model.DeviceInfo>(_dbContext.GetAllDevices()); var addDevicePage = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-22T10:11:21.8366667+00:00
dedeepya yarlagadda 45 Reputation points
commented 2024-07-26T09:16:40.7333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,571 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,244 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,336 Reputation points
commented 2024-07-26T07:58:08.7766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,491 Reputation points Microsoft Vendor
0 answers

Getting foldable device info in Maui such has hinge rect info, and if the device is foldable or not

Hi there, In my xamarin android app, which I am moving to Maui, which relies on some foldable device info such as if the device is foldable or not, and if it is, what is the hinge width (such as surface duo). In Xamarin, I used jetPack apis, but it does…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
asked 2024-07-26T02:14:40.1233333+00:00
khatauli 1 Reputation point
commented 2024-07-26T07:23:58.9133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,491 Reputation points Microsoft Vendor
1 answer

Will Azure Face Liveness Detection be available on .NET MAUI ?

We want to use Azure Face Liveness Detection on .NET MAUI, however the only available supported methods are Kotlin/Java , IOS, and JavaScript for Web Application. Is there any upcoming SDK for .NET MAUI ,if so, when is the expected date of release. Thank…

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
159 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,244 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,658 questions
asked 2024-07-24T15:18:32.8233333+00:00
Maroun ElKady 0 Reputation points
commented 2024-07-26T06:43:20.1866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,571 Reputation points Microsoft Vendor