3,651 questions with .NET MAUI tags

Sort by: Updated
0 answers

provide a properly configured and signed bearer token and make sure that it has not expired visual studio

Hello, I am getting the error: "Provide a properly configured and signed bearer token and make sure that it has not expired" in Visual Studio. I have generated the proper key and added the correct details, but I am still not able to add the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-21T15:42:01.7566667+00:00
Bhuwan 721 Reputation points
commented 2024-11-22T06:28:23.06+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
1 answer

MAUI Blazor hybrid - Windows MSIX packaging - Unable to set start menu folder

I am new to MSIX packaging so if this is a naïve question I apologise. I have tried to set the start menu folder of the application shortcut for my latest MAUI-Blazor hybrid app as part of the MSIX package. I have followed the guidance in Group…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,604 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-21T10:43:10.63+00:00
Valentine, Jack 0 Reputation points
answered 2024-11-22T06:26:08.7166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
1 answer

How to Implement Notification Badge on TabbedPage in .NET MAUI 8?

Hello, I have implemented a TabbedPage in my .NET MAUI application using AppTabbedPage.xaml. It contains 5 pages for tab navigation. One of the tabs is dedicated to notifications, and I need to display a notification badge on this tab. The badge should…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-21T11:40:49.8533333+00:00
nandu kathmandi 1 Reputation point
answered 2024-11-22T06:17:07.6233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
0 answers

iOS Pipeline in .NET MAUI Fails in Azure DevOps: xcrun "actool" Error

Hello, I’m working on setting up an iOS pipeline for a .NET MAUI application in Azure DevOps using a YAML file. Locally, everything works as expected, but the pipeline fails with the following error: xcrun: error: sh -c…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,013 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-22T04:52:32.3866667+00:00
nandu kathmandi 1 Reputation point
1 answer

Slow startup time and collection

I do not know what Microsoft did in .net 9, I am experiencing a weird error, where even if I put a startup time of 2 seconds, and it takes 13 seconds this is my startup page public partial class StartupPageViewModel : ObservableObject { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-20T16:15:51.9433333+00:00
Eduardo Gomez Romero 905 Reputation points
answered 2024-11-22T03:10:03.63+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
1 answer

combining shell with navigation with window navigation

As you already know, .net 9 is out and with that we have a tithe bar for windows I have my appshell, that enable me to go page to page <!-- Flyout for Desktop --> <FlyoutItem Title="{x:Static rex:AppResource.HomePage}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-20T12:22:10.5+00:00
Eduardo Gomez Romero 905 Reputation points
commented 2024-11-22T03:07:30.7866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
1 answer

CollectionView API image

For some reason my colletionView doesn't want to show the images <CollectionView Grid.Row="2" Margin="20" HorizontalOptions="CenterAndExpand" ItemsSource="{x:Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-20T12:37:44.04+00:00
Eduardo Gomez Romero 905 Reputation points
answered 2024-11-22T03:02:41.62+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how to custom action sheet?

I can show action sheet using : await Shell.Current.DisplayActionSheet("choose...","cancel",null,["OPT1"]); but how to custom it ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-20T04:51:24.49+00:00
mc 4,736 Reputation points
accepted 2024-11-22T01:17:07.56+00:00
mc 4,736 Reputation points
1 answer One of the answers was accepted by the question author.

how to compress image to width and height?

I have many images. and I want to compress it. If the image is (300,500) I want to compress it to (30,50) to (90,150) to (12,60) how to compress it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-21T00:48:22.3233333+00:00
mc 4,736 Reputation points
commented 2024-11-22T01:16:48.9533333+00:00
mc 4,736 Reputation points
1 answer

Problem with the new Edge-to-Edge requirement in Android 15 when using net9.0-android35

Before modifying my app to support edge-to-edge, I thought I’d first try with one of my sample apps on my GitHub page. The existing sample app didn’t have a fragment with a RecyclerView, so I added a new fragment containing a RecyclerView to test the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-18T02:42:04.89+00:00
Graham McKechnie 421 Reputation points
answered 2024-11-21T22:55:19.3633333+00:00
Graham McKechnie 421 Reputation points
1 answer

How to get all screenshots with MAUI?

I'm trying to make a screenshot program using MAUI, but Screenshot can only get screenshots of the app.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2023-12-06T16:30:40.78+00:00
iweir man 0 Reputation points
commented 2024-11-21T20:02:33.6966667+00:00
Harry 0 Reputation points
0 answers

Can't deploy Visual Studio Net 9.0 project with Android

While deploying a Visual Studio Net 9.0 project, it occasionally gives a warning: This project is not suitable for Android, check for errors. After deploying the project with Windows, it can be deployed on Android. This situation is repeated from time to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,225 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-21T08:43:20.9+00:00
Huseyin Unsal 0 Reputation points
commented 2024-11-21T16:58:08.09+00:00
Huseyin Unsal 0 Reputation points
1 answer One of the answers was accepted by the question author.

34.0 is not a valid TargetPlatformVersion for Android. Valid versions include: 35.0

I changed the Target framework in my Android project properties from .NET 8.0 to .NET 9.0. But then I get this error: 34.0 is not a valid TargetPlatformVersion for Android. Valid versions include: 35.0 Is it necessary to change the Target OS version…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-19T09:41:03.52+00:00
Kim Strasser 1,076 Reputation points
accepted 2024-11-21T09:43:57.5366667+00:00
Kim Strasser 1,076 Reputation points
1 answer One of the answers was accepted by the question author.

I get the error 'Platform' does not contain a definition for 'Init' in Microsoft.Maui.ApplicationModel.Platform.Init(this, bundle);

I get the following error after updating my NuGet packages: 'Platform' does not contain a definition for 'Init' Activity1.cs: using Android; using Android.App; using Android.Content.PM; using Android.OS; using Android.Views; using Android.Util; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-15T14:57:17.6533333+00:00
Kim Strasser 1,076 Reputation points
accepted 2024-11-21T09:43:36.38+00:00
Kim Strasser 1,076 Reputation points
1 answer

How to change tabbar style (font and size and ...)

i want change the style of tabbar menu item font and size and color how to do it ? AppShell <TabBar > <Tab Title="پروفایل" > <Tab.Icon> <FontImageSource FontFamily="MDReg"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,640 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
816 questions
asked 2024-11-14T05:09:08.0233333+00:00
Mahdi Elahi 31 Reputation points
answered 2024-11-21T08:59:23.61+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
0 answers

first page to be a windows

Hello In my app I have am MainPage and a MainWindow What I want to do is that if I'm on desktop, the first page to be MainWindow, if not to be the mainPage public partial class App : Application { public App() { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-19T20:35:22.4833333+00:00
Eduardo Gomez Romero 905 Reputation points
commented 2024-11-21T08:37:09.7433333+00:00
Eduardo Gomez Romero 905 Reputation points
1 answer

Double tapping Editor control locks app when deployed to iOS

Double tapping the Editor locks the app when deployed to iOS. This occurs for both net 8 and 9. Entry control works well and does not lock up the app. I added Editor and Entry controls to the demo Maui app as below. Am I missing a setting? Any known…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
816 questions
asked 2024-11-14T07:29:50.46+00:00
TazKing 85 Reputation points
answered 2024-11-21T08:20:58.96+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,781 Reputation points Microsoft Vendor
0 answers

The program '[20628] MauiBlazorWeb.Maui.exe' has exited with code 2147958009 (0x80073cf9).

My code was successfully launching desktop app, android app, but yesterday onwards[i doubt after windows update] this is not working... and its giving me this error The program '[20628] MauiBlazorWeb.Maui.exe' has exited with code 2147958009…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-20T12:50:31.1866667+00:00
Jose KJ 5 Reputation points
commented 2024-11-21T06:33:56.39+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
0 answers

.NET MAUI app crashing on startup, apparently with an error in DirectUI::PointerAnimationUsingKeyFrames

I am an app developer, working with .NET MAUI. I have a .NET MAUI app published in the store, at **ms-windows-store://pdp/?productid=9WZDNCRFJ43B **which, for some users, is consistently crashing during startup, apparently in a call to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-18T10:11:03.81+00:00
Jim Chapman 11 Reputation points
edited a comment 2024-11-21T06:12:41.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,781 Reputation points Microsoft Vendor
1 answer

Tabbed Page - Tab Text truncate issue for MAUI 8.

Hi, I have converted project from Xamarin Forms to MAUI 8. There is a new feature request to Add Tab bar navigation on the app. There are 5 tabs at the bottom of app. I have implemented AppTabbedPage.xaml and added 5 pages. for Tab navigation. One of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,651 questions
asked 2024-11-19T11:49:10.3433333+00:00
Chaurasia, Gaurav 0 Reputation points
edited a comment 2024-11-21T06:03:26.7666667+00:00
nandu kathmandi 1 Reputation point