4,171 questions with Developer technologies | .NET | .NET MAUI tags
Hello, After updating to the latest version of Visual Studio, I am encountering an error and am unable to connect Windows to my Mac device. MSBuild was unable to connect to the Mac with Address=‘xx.xxx.xx.xxx’ and User=‘MacDeviceBh’. This connection is
Hello, After updating to the latest version of Visual Studio, I am encountering an error and am unable to connect Windows to my Mac device. MSBuild was unable to connect to the Mac with Address=‘xx.xxx.xx.xxx’ and User=‘MacDeviceBh’. This connection is…
Developer technologies | .NET | .NET MAUI
why I can not request permission of manage_external_storage?
i am using .net android and if I requestPermission of manage_external_storage it will call OnRequestPermissionsResult with grantResults =- 1 why?
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
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
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
How to visit the views of carouselview different item ?
webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…
Developer technologies | .NET | .NET MAUI
Limitations When Launching .NET MAUI Windows App via Custom URI Scheme
I've added the following entry to the Package.appxmanifest for my .NET MAUI Windows app to support activation via a custom URI scheme: After investigating this setup, I observed the following limitations: Key Findings Windows Focus Restrictions: When the…
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
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
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
Webview not working in MAUI
I had created a sample MAUI solution with the .Net 9, and added a webview. and added the following piece of code in the mainpage.xaml <StackLayout Padding="30,0" Spacing="25"> <WebView…
Developer technologies | .NET | .NET MAUI
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
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
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
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'…