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

Sort by: Updated
1 answer One of the answers was accepted by the question author.

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
asked 2025-07-09T14:28:14.14+00:00
Bhuwan 996 Reputation points
accepted 2025-07-10T11:27:49.5833333+00:00
Bhuwan 996 Reputation points
0 answers

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
asked 2025-07-10T10:04:05.3866667+00:00
mc 5,571 Reputation points
2 answers

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
commented 2025-07-10T09:53:46.2966667+00:00
Tony Dinh (WICLOUD CORPORATION) 390 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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 996 Reputation points
accepted 2025-07-10T07:28:01.12+00:00
Bhuwan 996 Reputation points
1 answer One of the answers was accepted by the question author.

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,711 Reputation points
accepted 2025-07-10T05:56:22.6533333+00:00
Eduardo Gomez 3,711 Reputation points
2 answers

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
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
answered 2025-07-09T12:32:36.7066667+00:00
John looks 0 Reputation points
2 answers

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
asked 2025-05-09T07:36:07.6433333+00:00
Sagar Shinde 0 Reputation points
answered 2025-07-09T09:41:07.81+00:00
Tony Dinh (WICLOUD CORPORATION) 390 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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 120 Reputation points
commented 2025-07-09T07:07:22.78+00:00
Soumyadip Majumder 120 Reputation points
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
commented 2025-07-09T06:59:26.8966667+00:00
Michael Le (WICLOUD CORPORATION) 545 Reputation points Microsoft External Staff
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 115 Reputation points
commented 2025-07-09T02:54:17.09+00:00
Tony Dinh (WICLOUD CORPORATION) 390 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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 96 Reputation points
accepted 2025-07-08T14:42:26.8366667+00:00
Eigil Krogh Sorensen 96 Reputation points
1 answer

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
asked 2025-04-27T03:19:05.51+00:00
Vaibhav Methuku 165 Reputation points
answered 2025-07-08T08:14:45.83+00:00
Tony Dinh (WICLOUD CORPORATION) 390 Reputation points Microsoft External Staff
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,571 Reputation points
edited an answer 2025-07-07T21:28:48.77+00:00
Bruce (SqlWork.com) 78,311 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,311 Reputation points Volunteer Moderator
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) 390 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) 390 Reputation points Microsoft External Staff
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