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

Sort by: Updated
1 answer

how to use this in .net android?

create a view and draw it in onDraw or give background to imageView?

Developer technologies | .NET | .NET MAUI
asked 2025-07-07T09:07:59.54+00:00
mc 5,511 Reputation points
edited an answer 2025-07-07T21:28:48.77+00:00
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
1 answer

On macOS: How to install .pkg created with dotnet publish ?

dotnet --version 9.0.301 My MAUI app. is upgraded to .NET 9. I just created a .pkg with the command: dotnet publish ChronoWiz/ChronoWiz.csproj -f net9.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:UseHardenedRuntime=true -o…

Developer technologies | .NET | .NET MAUI
asked 2025-07-07T09:58:56.81+00:00
Eigil Krogh Sorensen 76 Reputation points
edited an answer 2025-07-07T15:52:33.6033333+00:00
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
1 answer

Has anyone successfully targeted Android API Level 35 in a .NET MAUI app?

I recently got a critical warning from Google Play Console: "2 of your apps are targeting an old version of Android. Google Play requires all apps to meet target API level requirements before August 31, 2025." I'm currently targeting:…

Developer technologies | .NET | .NET MAUI
asked 2025-07-07T11:11:01.0666667+00:00
Aayush Rawat 0 Reputation points
answered 2025-07-07T15:28:52.4133333+00:00
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
1 answer

Binding null, but is working

In have my viewModel using System.Collections.ObjectModel; namespace FireChat.ViewModels; public partial class AppShellViewModel : BaseViewModel { readonly FirebaseAuthClient _authClient; readonly WeakReferenceMessenger _messenger; …

Developer technologies | .NET | .NET MAUI
asked 2025-05-09T23:45:59.3366667+00:00
Eduardo Gomez 3,671 Reputation points
answered 2025-07-07T10:41:24.8333333+00:00
Tony Dinh (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff
1 answer

Maui project not build after added this plugin "Plugin.Firebase.Analytics"

Maui project not build after added this plugin "Plugin.Firebase.Analytics" Create New Project -> Update All Packages -> Add "Plugin.Firebase.Analytics" NuGet package -> After clean Project -> Rebuild the project and it'…

Developer technologies | .NET | .NET MAUI
asked 2025-05-27T09:10:44.0533333+00:00
Bhuwan 881 Reputation points
answered 2025-07-07T09:52:15.6433333+00:00
Michael Le (WICLOUD CORPORATION) 305 Reputation points Microsoft External Staff
1 answer

Publishing a .NET MAUI app fails with error message "You must include a valid app package manifest file named AppxManifest.xml in the source."

I'm trying to publish a .NET MAUI app. The source code contains a "Package.appxmanifest" file. When I try to publish, it fails with the following error messages: You must include a valid app package manifest file named AppxManifest.xml in…

Developer technologies | .NET | .NET MAUI
asked 2025-07-03T08:53:59.06+00:00
Andreas Stavropoulos 5 Reputation points
edited a comment 2025-07-04T13:00:30.3033333+00:00
Andreas Stavropoulos 5 Reputation points
1 answer

How to create two different style Switch in maui?

I have a requirement to utilize switch control in MAUI but in two different styles. I am able to create one in the green color by modifying the toggle switch code from source styles file and adding it into windows/app.xaml file. Now I want to create one…

Developer technologies | .NET | .NET MAUI
asked 2025-04-09T06:23:05.64+00:00
Lohith K K 110 Reputation points
answered 2025-07-04T09:10:11.73+00:00
Tony Dinh (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff
1 answer

Flyout separators

Hello So, I am trying to clone this design Note the shell will only be visible on windows Note: the red square, is becouse of privacy reasons if you read this…

Developer technologies | .NET | .NET MAUI
asked 2025-05-08T11:32:46.38+00:00
Eduardo Gomez 3,671 Reputation points
answered 2025-07-04T09:00:56.7733333+00:00
Tony Dinh (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff
1 answer

Seeing red dot sign on MAUI (explorer on resources) in .NET 9

I am seeing the red small sign on Resources folder in .NET MAUI (in .NET 9). I am working on the folder that is in a GitHub repository have a workflow open. How to resolve this problem.

Developer technologies | .NET | .NET MAUI
asked 2025-05-06T17:36:52.44+00:00
Soumyadip Majumder 100 Reputation points
answered 2025-07-04T08:59:33.29+00:00
Michael Le (WICLOUD CORPORATION) 305 Reputation points Microsoft External Staff
1 answer

Why am I receiving warnings on my code, but it is still working.

namespace MauiApp1 { public partial class MainPage : ContentPage { int count = 0; public MainPage() { InitializeComponent(); } private void OnCounterClicked(object sender, EventArgs e) …

Developer technologies | .NET | .NET MAUI
asked 2025-05-07T20:43:58.4733333+00:00
John Williams 0 Reputation points
answered 2025-07-04T08:59:03.4366667+00:00
Michael Le (WICLOUD CORPORATION) 305 Reputation points Microsoft External Staff
3 answers

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-07-04T06:58:47.2966667+00:00
Thiha Linn 0 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
commented 2025-07-04T06:04:23.7033333+00:00
Tony Dinh (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff
0 answers

In 8 entries, 2 entries text change event not triggered

In a Content View, we have 8 entries, which will change based on one picker. If pickers change the value all the 8 entries value would change, on first time we select the value from the picker all values set correctly, if the values selected previously…

Developer technologies | .NET | .NET MAUI
asked 2025-05-08T05:23:49.3233333+00:00
Jeyamani Sekar 20 Reputation points
commented 2025-07-04T03:35:14.6266667+00:00
Tony Dinh (WICLOUD CORPORATION) 160 Reputation points Microsoft External Staff
0 answers

color connverter

I have a converter public class SelectedAvatarMultiValueConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { if(values.Length == 2 && …

Developer technologies | .NET | .NET MAUI
asked 2025-07-01T20:56:04.42+00:00
Eduardo Gomez 3,671 Reputation points
commented 2025-07-03T19:04:08.9466667+00:00
Viorel 122.6K Reputation points
0 answers

How to Share Apple Code Signing Key

Trying to switch to developing an iOS app using Hot Restart from using Mac Xcode. Using the same project, when building I am getting the error message "signing key not found in keychain". I am able to build and deploy to the iPhone using the…

Developer technologies | .NET | .NET MAUI
asked 2025-07-01T11:10:22.8633333+00:00
Marc George 191 Reputation points
commented 2025-07-03T16:51:21.42+00:00
Marc George 191 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI Picker control, .net 9: the Unfocused event IMMEDIATELY follows the Focused event?

I'm using the MAUI Picker control (ComboBox) on .net 9, Windows, VS 2022 v17.13.6. When the Picker gets focus by the user clicking it, the Focused event fires, but it is immediately followed by the Unfocused event and the drop down list opens. If the…

Developer technologies | .NET | .NET MAUI
asked 2025-05-14T12:32:14.0833333+00:00
Blaise-1597 61 Reputation points
commented 2025-07-03T15:15:28.98+00:00
Blaise-1597 61 Reputation points
1 answer One of the answers was accepted by the question author.

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 20 Reputation points
commented 2025-07-03T09:18:17.7266667+00:00
Anton Moroder 20 Reputation points
1 answer One of the answers was accepted by the question author.

Push Notification Icon Color Issue in .NET MAUI Local Notifications

I have implemented push notifications using LocalPushNotification in my .NET MAUI app. I'm setting the small icon using: .SetSmallIcon(Resource.Drawable.ic_push_notification_solid) The issue is that the icon is displayed in gray instead of its…

Developer technologies | .NET | .NET MAUI
asked 2025-05-19T18:33:04.48+00:00
Omkar Pawar 255 Reputation points
commented 2025-07-03T08:56:21.3066667+00:00
Omkar Pawar 255 Reputation points
0 answers

Azure DevOps publish fails for MAUI.NET iOS

This is part of my Azure Pipeline:        - task: Bash@3             displayName: Install MAUI             inputs:               targetType: 'inline'               script: |                 dotnet workload update                 dotnet workload install…

Developer technologies | .NET | .NET MAUI
asked 2025-07-02T20:42:25.2366667+00:00
Milad Xandi 0 Reputation points
1 answer One of the answers was accepted by the question author.

OneWay Data Binding Between 2 Content Views not working

I've setup 2 ContentViews: NewContent1.xaml and ChildContentView.xaml using .NET 9. I've added <MauiEnableXamlCBindingWithSourceCompilation>true</MauiEnableXamlCBindingWithSourceCompilation> to my Project Properties. I'm binding a string…

Developer technologies | .NET | .NET MAUI
asked 2025-07-01T14:04:57.5433333+00:00
krobine-2778 20 Reputation points
commented 2025-07-02T14:48:28.8933333+00:00
krobine-2778 20 Reputation points