4,162 questions with Developer technologies | .NET | .NET MAUI tags
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
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
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
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
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
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
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
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
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

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
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
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
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
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

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


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
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
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
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


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…