3,649 questions with .NET MAUI tags

Sort by: Updated
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,222 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,649 questions
asked 2024-11-21T08:43:20.9+00:00
Huseyin Unsal 0 Reputation points
commented 2024-11-21T13:36:23.23+00:00
Anna Xiu-MSFT 29,931 Reputation points Microsoft Vendor
0 answers

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,649 questions
asked 2024-11-21T11:40:49.8533333+00:00
nandu kathmandi 1 Reputation point
0 answers

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,649 questions
asked 2024-11-20T12:37:44.04+00:00
Eduardo Gomez Romero 905 Reputation points
edited a comment 2024-11-21T10:49:02.5733333+00:00
Eduardo Gomez Romero 905 Reputation points
0 answers

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,602 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,649 questions
asked 2024-11-21T10:43:10.63+00:00
Valentine, Jack 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,649 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,649 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
0 answers

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,649 questions
asked 2024-11-18T02:42:04.89+00:00
Graham McKechnie 421 Reputation points
commented 2024-11-21T09:02:14.8666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
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,944 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,638 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,649 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

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,649 questions
asked 2024-11-20T16:15:51.9433333+00:00
Eduardo Gomez Romero 905 Reputation points
commented 2024-11-21T08:58:37.64+00:00
Eduardo Gomez Romero 905 Reputation points
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,649 questions
asked 2024-11-20T12:22:10.5+00:00
Eduardo Gomez Romero 905 Reputation points
commented 2024-11-21T08:54:41.0733333+00:00
Eduardo Gomez Romero 905 Reputation points
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,649 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,649 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,649 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,649 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,649 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
0 answers

How to use a svg file as icon in a .net maui class library?

I'm moving some code to a sub project, for better modularity. As I don't want to reference the main app, I want to import the resource to this sub project. Here is the code I need help with: var notificationBuilder = new NotificationCompat.Builder(this,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,944 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,649 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,051 questions
asked 2024-11-20T07:15:31.08+00:00
AbsolutelyFreeWeb 1 Reputation point
commented 2024-11-21T05:56:19.9766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,781 Reputation points Microsoft Vendor
1 answer

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,649 questions
asked 2024-11-21T00:48:22.3233333+00:00
mc 4,716 Reputation points
answered 2024-11-21T03:15:05.7233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,781 Reputation points Microsoft Vendor
0 answers

how to pre-load page ?

there is lots of controls and it is slow to open this page. can I pre load it so I can open it very fast? .net version is 8.0. I do not load data but there is controls. there is 300 lines in MyPage.xaml. and about 35 gestureRecognizer in border and Label…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,649 questions
asked 2024-11-17T03:20:51.12+00:00
mc 4,716 Reputation points
commented 2024-11-21T02:41:58.88+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,786 Reputation points Microsoft Vendor
1 answer

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,649 questions
asked 2024-11-20T04:51:24.49+00:00
mc 4,716 Reputation points
answered 2024-11-21T02:24:30.33+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,786 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Argument 1: cannot convert from 'string' to 'string[]'

I get the following error after updating my Plugin.InAppBilling NuGet package from version 7.1.3 to 8.0.5. var resultfin = await billing.FinalizePurchaseAsync(purchase.TransactionIdentifier); Argument 1: cannot convert from 'string' to 'string[]' How…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,649 questions
asked 2024-11-20T10:52:52.1466667+00:00
Kim Strasser 1,076 Reputation points
accepted 2024-11-20T23:34:27.7+00:00
Kim Strasser 1,076 Reputation points