4,153 questions with Developer technologies | .NET | .NET MAUI tags

Sort by: Updated
1 answer

MAUI app crash when execute BindableLayout.SetItemsSource with visual studio 2022 17.14.7

After the command BindableLayout.SetItemsSource(FlexLayout, IEnumerable) in DEBUG environment and WinUI it gives the error: System.ArgumentOutOfRangeException in System.Private.CoreLib.dll Exception thrown: 'System.Reflection.TargetInvocationException'…

Developer technologies | .NET | .NET MAUI
asked 2025-06-30T10:33:22.18+00:00
Anton Moroder 0 Reputation points
answered 2025-06-30T13:16:47.1766667+00:00
Anton Moroder 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to improve tapping feedback in Maui

Hello. Please. how to improve the feedback of tap recognize on a label of one character because the tapping area is small the tapping feedback is lower. In my app I have a grid row with 10 columns and in each grid cell I have a one character label with…

Developer technologies | .NET | .NET MAUI
asked 2025-06-11T07:37:38.9933333+00:00
Haviv Elbsz 2,091 Reputation points
accepted 2025-06-30T12:43:50.61+00:00
Haviv Elbsz 2,091 Reputation points
3 answers

How to fix could not find error

I'm working on a maui app. when i try to build project it gives "System could not find the file. (2): C:\Users\jello\OneDrive\Masaüstü\wx\VSC\MAUI\Ccalculate\Ccalculate\obj\Debug\net9.0-android\assets." error message. how can i fix it?

Developer technologies | .NET | .NET MAUI
asked 2025-06-19T18:04:33.4433333+00:00
Eren Çam 5 Reputation points
edited an answer 2025-06-30T10:27:21.38+00:00
Tony Dinh (WICLOUD CORPORATION) 0 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Maui toolkit popup window size controling

Hello all. I built a toolkit popup according the Microsoft doc. and I want that the width of the popup window to fill the screen width. How I do that. I tried horizontal option fill but that's not working. Thank you very much

Developer technologies | .NET | .NET MAUI
asked 2023-08-24T14:03:14.2+00:00
Haviv Elbsz 2,091 Reputation points
edited a comment 2025-06-26T04:40:07.9466667+00:00
shalin 0 Reputation points
2 answers

Why Can't I Choose AnyCPU as Platform Target in MAUI Project Properties?

When I try to choose AnyCPU as Platform Target for a MAUI project, the drop-down list returns back to ARM64. What is, therefore, enforcing the ARM64 choice for the project? Visual Studio Version: 17.6.4 .NET SDK Version: 7.0.400-preview.23274.1 .NET…

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2023-06-29T06:46:33.4066667+00:00
dg2k 1,416 Reputation points
commented 2025-06-26T03:08:12.1633333+00:00
Saideep Anchuri 9,425 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

.Net Maui Shell navigation, is it possible to keep previouse page state as in NavigationPage (old way)?

I have a listing page with a CollectionView control, when item clicked it opens a details page, when back button pressed on details page, i lose the scoll position on listing page! With Shell navigation the previouse page is rerendered everytime we back…

Developer technologies | .NET | .NET MAUI
asked 2023-11-22T11:14:54.47+00:00
Shaher A 30 Reputation points
accepted 2025-06-25T08:21:14.1333333+00:00
Shaher A 30 Reputation points
0 answers

your system is getting an error exporting cert

I am trying to export an app certificate and your system keeps giving an error

Developer technologies | .NET | .NET MAUI
asked 2025-06-24T16:58:52.6766667+00:00
Paul Jaramillo 0 Reputation points
1 answer

MAUI: Rebuild Error: Type androidx.collection.ArrayMapKt is defined multiple times

I am getting below error when rebuilding in release mode: 1>MSBUILD : java.exe error JAVA0000: Error in…

Developer technologies | .NET | .NET MAUI
asked 2025-05-21T11:53:58.3166667+00:00
Sreejith Sreenivasan 1,001 Reputation points
answered 2025-06-24T08:36:42.3266667+00:00
Mathieu Jacquinot 1 Reputation point
2 answers

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of "$([System.String]::Copy('C:\Users\tarek\OneDrive\Desktop\StoreAp

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of…

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET MAUI
asked 2024-05-08T03:16:48.12+00:00
م.طارق علي 5 Reputation points
commented 2025-06-24T06:58:08.4766667+00:00
Danny Nguyen (WICLOUD CORPORATION) 165 Reputation points Microsoft External Staff
1 answer

is there a path algorithm?

I am using .net android and I want to ask that is there any path algorithm? I have 3 line intersected I want to find a way from A to B and remove the other line

Developer technologies | .NET | .NET MAUI
asked 2025-06-23T12:38:05.5633333+00:00
mc 5,426 Reputation points
commented 2025-06-24T01:56:02.7833333+00:00
Bruce (SqlWork.com) 77,766 Reputation points Volunteer Moderator
2 answers

How do you get View Page from its associated ViewModel programmatically?

There are rare occasions where I want to get a View Page object from its own ViewModel. Don't worry about the oft-said warning of: "don't break the MVVM pattern". I just want to get the View Page from its ViewModel programmatically. I can do…

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2023-05-06T17:02:50.2533333+00:00
dg2k 1,416 Reputation points
commented 2025-06-22T21:56:48.86+00:00
Mehdi Mieg 0 Reputation points
1 answer

Dynamic NavMenu

I am trying to implement the default NavMenu.razor with a number of NavLinks where one of the items is not visible by default. It should only become visible after an authenticated user belonging to a specific role condition is true. My code snippet is…

Developer technologies | .NET | .NET MAUI
asked 2025-06-16T22:02:23.6333333+00:00
Onyango, David 31 Reputation points
answered 2025-06-21T18:18:33.9433333+00:00
Bruce (SqlWork.com) 77,766 Reputation points Volunteer Moderator
1 answer

iOS App crash on version 15.8.4

My iOS app crash on version 15.8.4 and getting this error- Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[UIBarButtonItem initWithBarButtonSystemItem:primaryAction:menu:]: unrecognized selector sent to instance…

Developer technologies | .NET | .NET MAUI
asked 2025-06-20T15:19:28.54+00:00
Bhuwan 881 Reputation points
answered 2025-06-20T15:28:51.3+00:00
Bruce (SqlWork.com) 77,766 Reputation points Volunteer Moderator
0 answers

how to change the color of the rippleDrawable of button in .net android?

I am using .net android and how to edit the color of the rippleDrawable of button in .net android? I have set the colorstatelist of enabled but it not changed.

Developer technologies | .NET | .NET MAUI
asked 2025-06-19T04:33:48.56+00:00
mc 5,426 Reputation points
0 answers

Scrolling Issue on Tabbed Page in iOS When Adding Dynamic Labels

I am experiencing a scrolling issue on a tabbed page in iOS when dynamically adding labels. In most cases (approximately 8 out of 10 times), I am unable to scroll down after adding the labels. This issue occurs on both real and simulator devices. …

Developer technologies | .NET | .NET MAUI
asked 2025-06-17T06:05:47.6133333+00:00
Omkar Pawar 235 Reputation points
2 answers

UI freezes for sometime after UI binding

My data is binding to UI quickly but the UI freezes for few seconds and I have only 2 records. I am loading data in ContentView Loaded event var newStops = await Task.Run(() => { return response.Stops .OrderByDescending(x =>…

Developer technologies | .NET | .NET MAUI
asked 2025-06-15T17:09:15.28+00:00
Shashank Gaddam [C] 20 Reputation points
answered 2025-06-16T05:35:47.4466667+00:00
Shashank Gaddam [C] 20 Reputation points
0 answers

Can I use getManufacturerSpecificData in StartDiscovery in .net android?

how to use getManufacturerSpecificData in StartDiscovery not StartLeScan?

Developer technologies | .NET | .NET MAUI
asked 2025-06-16T04:07:43.9533333+00:00
mc 5,426 Reputation points
1 answer

Unable to Authenticate MAUI Application on Android

I have a Blazor hybrid app that successfully authenticates against Azure client OpenID authentication scheme on windows but fails on android device. Is there a working example to reference specifically for Android?

Developer technologies | .NET | .NET MAUI
asked 2025-06-14T21:29:52.3133333+00:00
Onyango, David 31 Reputation points
answered 2025-06-15T21:35:29.96+00:00
Onyango, David 31 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix this issue - Failed to marshal the Objective-C object 0x1257d5880

I am facing an issue on an iOS device. After installing the app and opening it, I encounter this error. Failed to marshal the Objective-C object 0x1257d5880 (type: Microsoft_Maui_Controls_Handlers_Items_VerticalCell). Could not find an existing managed…

Developer technologies | .NET | .NET MAUI
asked 2025-06-13T06:43:10.1933333+00:00
Bhuwan 881 Reputation points
edited a comment 2025-06-15T08:01:35.1333333+00:00
Bhuwan 881 Reputation points
1 answer

When I try to deploy to an iPhone 6 running iOS 12.5.7 I get: error MT1006: Could not install the application ... on the device 'iPwn Nova': Device is invalid (0xe8000084).

A couple of my apps and also a brand new created test app all get the same error when I try to deploy to either of my iPhone 6 devices. It also takes a very long time for the error to finally occur and the build to stop. I can say the following things…

Developer technologies | .NET | .NET MAUI
asked 2025-05-31T04:12:37.4966667+00:00
Kevin Anderson 0 Reputation points
commented 2025-06-15T03:10:52.73+00:00
Kevin Anderson 0 Reputation points