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

Sort by: Updated
2 answers

How to use SelectedIndexChanged or CommandParameter with CommunityToolkit.Mvvm

I am using CommunityToolkit.Mvvm with ObservableObject and ObservableProperty. In the MVVM pattern, how can I trigger the SelectedIndexChanged event for a Picker when an item is selected, or handle changes in an Entry when typing into the textbox? …

Developer technologies | .NET | .NET MAUI
asked 2025-01-18T16:28:39.4233333+00:00
Bhuwan 1,096 Reputation points
edited the question 2025-11-13T06:23:28.4633333+00:00
Harry Vo (WICLOUD CORPORATION) 3,385 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Error NETSDK1112: The runtime pack for Microsoft.NETCore.App.Runtime.win-x64 was not downloaded when building MAUI Windows app

Hi everyone, I have a .NET MAUI project configured as follows in my .csproj: <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) ==…

Developer technologies | .NET | .NET MAUI
asked 2025-11-07T11:00:25.1333333+00:00
Manjunath Vadigeri 20 Reputation points
accepted 2025-11-12T09:49:49.4366667+00:00
Manjunath Vadigeri 20 Reputation points
2 answers One of the answers was accepted by the question author.

how to load image and read the pixel of it?

I am using .net maui and I want to load image or capture picture and then read the pixel of it how to do it?

Developer technologies | .NET | .NET MAUI
asked 2025-11-11T01:59:01.1666667+00:00
mc 6,196 Reputation points
accepted 2025-11-12T06:39:46.31+00:00
mc 6,196 Reputation points
3 answers

How can I install an old Visual Studio Community version?

I want to install Visual Studio Community version 17.14.14 instead of the current version 17.14.19. I have already uninstalled all other Visual Studio versions. How can I install Visual Studio Community version 17.14.14? I have downloaded the VS 17.14.14…

Developer technologies | .NET | .NET MAUI
asked 2025-11-07T22:06:16.1366667+00:00
Kim Strasser 1,671 Reputation points
commented 2025-11-12T04:05:53.85+00:00
Michael Le (WICLOUD CORPORATION) 4,270 Reputation points Microsoft External Staff Moderator
1 answer

iOS crash report: System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_

I have uploaded my iOS build on TestFlight and then installed it on my iPad. My game always crashes 1-2 seconds after I opened it on my iPad. It only crashes in release mode and not in debug mode. It's not the first time that I have this kind of crash.…

Developer technologies | .NET | .NET MAUI
asked 2025-11-04T21:08:44.2066667+00:00
Kim Strasser 1,671 Reputation points
commented 2025-11-12T04:03:58.6066667+00:00
Michael Le (WICLOUD CORPORATION) 4,270 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

The SDK Microsoft.NET.sdk specified could not be found.

I get this error when I try to create a new project in Visual Studio Community 2022 (64-bit) 17.14.19: The SDK Microsoft.NET.sdk specified could not be found. In addition, when I try to open an existing solution in VS Community 2022 then my iOS and…

Developer technologies | .NET | .NET MAUI
asked 2025-11-10T22:38:41.35+00:00
Kim Strasser 1,671 Reputation points
commented 2025-11-12T02:18:38.4866667+00:00
Michael Le (WICLOUD CORPORATION) 4,270 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

What should I change in my Android .csproj file before uploading it to Google Play?

I created a new Android project in VS Insiders and I added my files from my old VS 2022 Android project to the new project. But I have not changed my new .csproj file. My new .csproj file in VS Insiders looks like this and debugging on my Android device…

Developer technologies | .NET | .NET MAUI
asked 2025-11-04T13:07:55.73+00:00
Kim Strasser 1,671 Reputation points
accepted 2025-11-11T14:36:41.2633333+00:00
Kim Strasser 1,671 Reputation points
2 answers One of the answers was accepted by the question author.

SCREEN UTILIZATION

I am developing an Android application using NET MAUI 10 with VS 2026. I notice that professional Android applications have two possible approaches with reference to the bottom bar (that contains the back, home and overview buttons), namely: This bar…

Developer technologies | .NET | .NET MAUI
asked 2025-11-10T20:43:35.78+00:00
Giorgio Sfiligoi 551 Reputation points
accepted 2025-11-11T12:30:35.0366667+00:00
Giorgio Sfiligoi 551 Reputation points
3 answers

Latest Windows 11 update has broken my MAUI .Net 8 projects

Nine days ago on Oct 14th I was able to successfully and consistently build my MAUI .Net 8 projects using Visual Studio Community. Microsoft installed an update on Oct 15th. Since then, I have not been able to build my application on any platform (iOS,…

Developer technologies | .NET | .NET MAUI
asked 2025-10-24T02:25:50.27+00:00
Jeff Rush 21 Reputation points
commented 2025-11-11T11:07:21.8733333+00:00
Michael Le (WICLOUD CORPORATION) 4,270 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

how to load gif and read pixels of it?

I want to load gif to Image and when I tapped on it I can read the pixel of it and read the frame of it . should I copy the gif to Raw folder or Images folder? and how to read the pixel of it? I am using .net MAUI 9.0

Developer technologies | .NET | .NET MAUI
asked 2025-11-08T10:15:10.38+00:00
mc 6,196 Reputation points
commented 2025-11-11T04:22:47.1933333+00:00
Jack Dang (WICLOUD CORPORATION) 3,405 Reputation points Microsoft External Staff Moderator
1 answer

can not read assets file in ios in maui?

there is AboutAssetx.txt and font1.ttf with same code i can read AboutAssets.txt but can not read font1.ttf and all set to MauiAsset and were in Raw folder why? in android I can read it. I use FileSystem.OpenAppPackageFileAsync

Developer technologies | .NET | .NET MAUI
asked 2025-11-10T15:28:44.8033333+00:00
mc 6,196 Reputation points
commented 2025-11-11T03:02:29.74+00:00
Jack Dang (WICLOUD CORPORATION) 3,405 Reputation points Microsoft External Staff Moderator
1 answer

APPX0101 error when packaging a WinUI MAUI app even though Azure Key Vault signing is configured

I have a WinUI app and I am trying to configure package signing with a certificate in our Azure Key Vault. I right-clicked the project, selected "Package and Publish" and picked a certificate from our Azure Key Vault. I know signing works in…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,496 questions
Windows development | Windows App SDK
Developer technologies | .NET | .NET MAUI
asked 2024-10-23T08:20:35.2233333+00:00
Jean Milne 0 Reputation points
answered 2025-11-10T18:02:18.36+00:00
Amira Bedhiafi 40,726 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

BACK BUTTON VS NET 10

Platform: Android With NET MAUI 9.0, pressing the 'hardware' Back Button generates the following events: When the current page is MainPage: OnSleep Android – OnStop Android – OnDestroy shut down the app When the current page is any other page: Go…

Developer technologies | .NET | .NET MAUI
asked 2025-11-05T09:51:13.88+00:00
Giorgio Sfiligoi 551 Reputation points
commented 2025-11-10T09:54:59.52+00:00
Jack Dang (WICLOUD CORPORATION) 3,405 Reputation points Microsoft External Staff Moderator
1 answer

MAUI: Unknown white circle on the UI when tap on Login Button.

I have a login page its xaml added below: <?xml version="1.0" encoding="UTF-8"?> <views:BaseContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

Developer technologies | .NET | .NET MAUI
asked 2025-11-06T12:03:43.85+00:00
Sreenivasan, Sreejith 155 Reputation points
commented 2025-11-10T08:25:37.9766667+00:00
Jack Dang (WICLOUD CORPORATION) 3,405 Reputation points Microsoft External Staff Moderator
2 answers

iOS project error: IL Trimmer has encountered an unexpected error.

I get two errors when I debug an empty iOS project on my iPad Air in Visual Studio Community 2026 Insiders 11123.170. IL Trimmer has encountered an unexpected error. Please report the issue at https://aka.ms/report-illink The file…

Developer technologies | .NET | .NET MAUI
asked 2025-10-27T21:31:33.97+00:00
Kim Strasser 1,671 Reputation points
commented 2025-11-10T06:05:47.6866667+00:00
Tony Dinh (WICLOUD CORPORATION) 4,240 Reputation points Microsoft External Staff
1 answer

.NET MAUI App and Community Toolkit MVVM NotifyPropertyChangedFor

I am testing some visual elements for a .NET MAUI Application. I imagined using something like the Community Toolkit Expander and have a page use "mutually exclusive" containers. The user taps a header and that section opens, while all other…

Developer technologies | .NET | .NET MAUI
asked 2025-11-08T03:56:34.4333333+00:00
Stewart Basterash 0 Reputation points
commented 2025-11-10T03:03:12.3833333+00:00
Harry Vo (WICLOUD CORPORATION) 3,385 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

This version of .NET for iOS (26.0.9752) requires Xcode 26.0. The current version of Xcode is 26.1. Either install Xcode 26.0, or use a different version of .NET for iOS.

I get this error after updating Xcode on my Mac today: This version of .NET for iOS (26.0.9752) requires Xcode 26.0. The current version of Xcode is 26.1. Either install Xcode 26.0, or use a different version of .NET for iOS. See…

Developer technologies | .NET | .NET MAUI
asked 2025-11-04T10:37:51.4833333+00:00
Kim Strasser 1,671 Reputation points
accepted 2025-11-06T23:00:49.5333333+00:00
Kim Strasser 1,671 Reputation points
2 answers One of the answers was accepted by the question author.

I can't get data from a sandbox API or debug my .NET MAUI app after getting a Business Central token.

Hello, I made a new MAUI app to play with a sandbox instance to test D365 APIs and functionality. I'm trying to authenticate and return an access token from an async method, AcquireBusinessCentralTokenInteractiveAsync, to get company data, but I cannot…

Developer technologies | .NET | .NET MAUI
asked 2025-11-02T13:22:26.4066667+00:00
Trevor Leon 25 Reputation points
accepted 2025-11-06T13:45:05.9966667+00:00
Trevor Leon 25 Reputation points
2 answers

UNHANDLED EXCEPTION ON QUIT

I just migrated to VS 2026 Insiders and tried the NET MAUI 10 Sample that is generated when you create a new project. Testing with Emulator API 36. Pressing the '<' hardware button of the emulator throws the exception: …

Developer technologies | .NET | .NET MAUI
asked 2025-10-21T11:33:25.9866667+00:00
Giorgio Sfiligoi 551 Reputation points
commented 2025-11-06T11:20:37.72+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 965 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

How can I make SVG drag or pointer move events work correctly on Android in .NET MAUI Blazor Hybrid app?

Hello, I have no success in fixing the SVG drag event issue on Android device. When I try to move my finger on Android device, the circle in the video moves just for a short time and then suddenly stops. It won't let me drag the circle longer. I use…

Developer technologies | .NET | .NET MAUI
asked 2025-11-04T20:19:55.4666667+00:00
Justas Juknevičius 25 Reputation points
commented 2025-11-05T10:26:17.12+00:00
Justas Juknevičius 25 Reputation points