3,134 questions with .NET MAUI tags

Sort by: Updated
1 answer

How to find where .pkg file store the installed app

I Use the following command to create a .pkg: .NET CLICopy dotnet publish -f net8.0-maccatalyst -c Release Publishing builds the app, and then copies the .app to the bin/Release/net8.0-maccatalyst/ folder or the .pkg to the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-25T09:23:23.6533333+00:00
Dani_S 3,186 Reputation points
answered 2024-07-03T03:13:06.7733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor
1 answer

.NET MAUI Google maps return an error when following the detailed guide to setup.

I have created an new .Net Maui 8.0 application. From there I have faithfully followed the setup at "https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/map?view=net-maui-8.0#setup" After every step I have built the project…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T09:48:31.2233333+00:00
Paul Sumner 0 Reputation points
answered 2024-07-03T03:03:59.03+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,221 Reputation points Microsoft Vendor
1 answer

How ro change Hamberger icon backgound color to green in .net maui

When i am clicking on push notification it navigates to the Consumable request details page and when clicking on back button it navigates to the Consumable request page. When it navigates to Consumable Request page tools bar color changing to black…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-27T20:16:02.1666667+00:00
Thombre, Ashish 125 Reputation points
commented 2024-07-03T01:59:13.5833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,221 Reputation points Microsoft Vendor
0 answers

How to apply search in collection view with portion loaded data?

i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 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,561 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.
781 questions
asked 2024-06-24T16:24:32.32+00:00
Kaouthar GR AOUICHAOUI 80 Reputation points
commented 2024-07-03T01:42:27.98+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
0 answers

Shell Navigation doesn't render the next page on Android. Shell Current State shows DnsSafeHost - System Invalid Exception.

Shell Navigation doesn't render the next page on Android. Shell Current State shows DnsSafeHost - System Invalid Exception. The steps - Have set the AppShell as MainPage MainPage = new AppShell(); Routing registered for second page on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T15:49:46.3433333+00:00
Khadeeja Madathil 0 Reputation points
0 answers

MAUI - Issue with saving an Image as a ByteArrayContent

In my MAUI application, there is a profile page where users can view and edit their personal details. This page includes functionality for updating the profile image. Users have three options for adding a profile image: Taking a photo using the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T15:35:00.11+00:00
Sakshi Poojary 55 Reputation points
edited the question 2024-07-02T15:48:11.05+00:00
Sakshi Poojary 55 Reputation points
0 answers

Issue with CollectionView RemainingItemsThresholdReached event

I am facing 2 issues with the CollectionView: I have given RemainingItemsThreshold="0" for CollectionView, but the RemainingItemsThresholdReached event is firing before reaching the last item. It is calling around 6 items before the last…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T15:15:25.8366667+00:00
Sreejith Sreenivasan 791 Reputation points
0 answers

MAUI - How can slider reduction be prevented?

In my MAUI application, I am using a slider to set a timer. The user can set the desired time by sliding the slider to the appropriate position. Once the timer is started, I want to prevent the user from reducing the set time until the timer completes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T15:01:31.2433333+00:00
Sakshi Poojary 55 Reputation points
edited the question 2024-07-02T15:08:09.61+00:00
Sakshi Poojary 55 Reputation points
0 answers

How to show alternate text if image loading failed in .net maui?

<Image x:Name="img" Source="{Binding Image}" Aspect="AspectFill" Margin="2" IsVisible="{Binding IsImage}"> </Image> I am using above code to show image. Additionally, i want to show…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T13:27:11.05+00:00
Thombre, Ashish 125 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI: Slider header is not moving

I have a slider in my UI and I am not able to move it properly. Below is the code: <Slider x:Name="watchme_slider" Grid.Column="1" BackgroundColor="White" MinimumTrackColor="#1c98d7" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T07:08:24.18+00:00
Sreejith Sreenivasan 791 Reputation points
accepted 2024-07-02T13:07:50.7166667+00:00
Sreejith Sreenivasan 791 Reputation points
0 answers

Antivirus based on user

Hi, Does Antivirus based on user can work on maui net 8 mac os , i.e this anrivirus will block the USB and CDRome and only the user will on maui app can reach these drives. Like impersonation in windows. Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T12:58:05.2366667+00:00
Dani_S 3,186 Reputation points
edited a comment 2024-07-02T13:04:56.86+00:00
Dani_S 3,186 Reputation points
0 answers

MAUI .NET 8 on iOS -System.ArgumentException: NaN is not a valid value for width

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When tried to run the project with the iOS simulator with Jetbrains Rider, which threw the exception below, System.ArgumentException: NaN is not a valid value for…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T12:36:32.7033333+00:00
Aneetha 25 Reputation points
0 answers

Whitescreen when reopen a MAUI app from background when app was first opened from push message

Hi, we have a maui blazor app and there is a strange behavior on Android. The app receives push message from firebase. When app is completely closed (not in background) and an incoming push message is clicked the app opens and handles the push message.…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
290 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
260 questions
asked 2024-07-02T10:53:40.18+00:00
alask 0 Reputation points
edited the question 2024-07-02T10:56:43.2633333+00:00
alask 0 Reputation points
1 answer

Problem with rewrite the Backgrounding event

Hi, In continue to https://learn.microsoft.com/en-us/answers/questions/1690214/register-close-button-in-mac All my work in pages stop working. Working with http + tasks. it fire the close button event and close the app. Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-18T06:41:00.6+00:00
Dani_S 3,186 Reputation points
commented 2024-07-02T10:51:15.5166667+00:00
Dani_S 3,186 Reputation points
0 answers

Maui for Android OCR project Using latest maui and android versions

Hello All. I created new maui project based on an Ocr for Android example. And it start build ok but after a while it throw this error. Please any help to fix this. Thank you. Build…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T10:46:36.0166667+00:00
Haviv Elbsz 2,006 Reputation points
1 answer

Only one app running in MAC?

Hi, Does this code work on MAC, only one app running ? Thanks, public partial class App : Application { private static Mutex mutex = new Mutex(true, Assembly.GetEntryAssembly().GetName().Name); public App() { if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-06-26T12:02:14.2933333+00:00
Dani_S 3,186 Reputation points
commented 2024-07-02T10:42:32.45+00:00
Dani_S 3,186 Reputation points
0 answers

Targetting xaml for multi platform

I have a xaml that includes android specific library as assembly and it needs to compiled only for android target platforms. I tried by putting it in platforms folder but it did not work . My assembly inclusion is present in xaml itself like the below…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-01T11:57:57.6166667+00:00
Manickam, Suraj 280 Reputation points
edited a comment 2024-07-02T09:35:37.5166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
0 answers

Dirty log for font

Hi, I get error for in the log, bu app work as expected. Where this error come from? Thanks, 2024-06-30 13:47:22,492 [1] ERROR Microsoft.Maui.FontManager - Error loading font 'Assets/Fonts/Arial.ttf'. System.ArgumentException: The parameter is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-02T09:25:28.8333333+00:00
Dani_S 3,186 Reputation points
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,046 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 25 Reputation points
edited a comment 2024-07-02T09:04:09.67+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor
1 answer

can not use UIKit or others in .net ios Bindings?

I created ios Binding project. and want to compile .a file to .dll there is ApiDefinition and StructsAndEnums.cs but both of them can not use ios UIImage NativeHandle Export Verify and all of it. CGSize Static can not use too. I can not use this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
asked 2024-07-01T10:46:09.4966667+00:00
mc 4,006 Reputation points
commented 2024-07-02T07:52:47.3033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor