2,844 questions with .NET MAUI tags

Sort by: Updated
0 answers

Pair to Mac failing 0-- Could not install workload ios

Hi, I'm pretty new to .Net Maui Mobile development. I have created a Hello World App and trying to run the application on a remote Mac device. Pair to Mac is failing with an error Could not install workload 'ios'. I'm on latest version of VS2022 and have…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-03-22T04:37:21.1233333+00:00
Sandeep Reddy Pinniti 1 Reputation point
edited the question 2024-04-09T08:26:43.0566667+00:00
Anna Xiu-MSFT 25,466 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Maui - create only one instance

Hi, I have maui app on WINDOWS 8 desktop. I have shortcut to exe. When i click on exe it create and instance of this app. It possible to limit to only one instance of app will be alive ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-03-18T08:35:55.1366667+00:00
דני שטרית 2,706 Reputation points
commented 2024-04-09T07:53:34.29+00:00
דני שטרית 2,706 Reputation points
0 answers

Expander of flyout items in .net maui

I want to add expander in flyout items. There is also answer available and that is:"https://learn.microsoft.com/en-us/answers/questions/315590/is-it-possible-to-use-expander-in-shell-flyout" but it is adding in header. I want to add in flyout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-05T19:21:40.5333333+00:00
Haider Ali Faizi 80 Reputation points
commented 2024-04-09T07:36:14.1533333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,996 Reputation points Microsoft Vendor
0 answers

how to refresh UI after changing a control property in.net MAUI

I'm migrating a xamarin project to .net MAUI and having trouble finding out how to get label to display thenew value when i set its text property!? in xamarin simply setting the property like so: selectedStaffMember.Text = staffName; would cause the …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-04T15:14:02.5366667+00:00
Jerome Mx 21 Reputation points
commented 2024-04-09T07:32:38.2066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,016 Reputation points Microsoft Vendor
0 answers

Swipeout... clicking on "swipeitem" causes the refreshview of hosted collection to be called!

I've been running into some odd control behaviour as I'm manually deep diving a conversion. This is not a critical conversion, but it has been exposing a lot of Maui issues that may or may not be insurmountable if it were. I have an ObservableCollection…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-08T22:25:45.59+00:00
Stewart Basterash 81 Reputation points
commented 2024-04-09T07:31:50.09+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,016 Reputation points Microsoft Vendor
0 answers

Maui iOS App is crashing because of Microsoft.Maui.Platform.ContentView

Hi, Maui iOS app is crashing because of ContentView. It is coming multiple times but we are not able to generate it frequently. Crash is coming randomly. It is also get logged in app center. but it is not displaying from which method app is getting…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-01-30T12:31:42.7566667+00:00
Shingala A 25 Reputation points
commented 2024-04-08T15:08:50.63+00:00
Mane, PRASHANT GORAKH 96 Reputation points
0 answers

Selected tab icon not visible in tabbed page

Issues- Selected tab(Resources) icon shows blank, icon should be visible( ref screenshots) Previously selected tab(Details) icon color changes to black its should be white (ref screenshots) Currently using below code for custom handler public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-01T08:33:04.75+00:00
Thombre, Ashish 105 Reputation points
commented 2024-04-08T11:21:54.8233333+00:00
Thombre, Ashish 105 Reputation points
1 answer One of the answers was accepted by the question author.

how to bind this jar file?

how to bind this jar file in maui android? AclasOS2Sdk.log please download this .log file and change the ext to .jar @Leon Lu

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-03-30T06:58:30.1633333+00:00
mc 3,641 Reputation points
accepted 2024-04-08T09:30:57.1+00:00
mc 3,641 Reputation points
1 answer One of the answers was accepted by the question author.

search bar in Navbar

On Andriod I have this So I was wondering if there is a way to put the search bar on top, so it would look like this. This is the page that has the search <Grid ColumnDefinitions="*,*,*" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-06T02:49:50.63+00:00
Eduardo Gomez Romero 185 Reputation points
accepted 2024-04-08T07:54:13.33+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer One of the answers was accepted by the question author.

two colors in search bar

My collection View has a search. <Grid Margin="10" ColumnDefinitions="*,*,*" RowDefinitions="Auto,*"> <Border Grid.Column="1"> <Border.StrokeShape> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-04T09:06:37.3466667+00:00
Eduardo Gomez Romero 185 Reputation points
accepted 2024-04-08T07:53:24.7533333+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer One of the answers was accepted by the question author.

flyout page titles

Is there a way, to get rid or hide the page title in flyouts <Shell x:Class="DemyAI.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-06T02:28:10.2533333+00:00
Eduardo Gomez Romero 185 Reputation points
accepted 2024-04-08T07:52:08.44+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer

flyout doesn't adapt to mobile

This is the code for my shell <Shell x:Class="DemyAI.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-06T02:13:24.48+00:00
Eduardo Gomez Romero 185 Reputation points
commented 2024-04-08T07:08:18.04+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,016 Reputation points Microsoft Vendor
0 answers

.net maui mac catalyst app how to specify INSTALL_PATH when app is packed

I use this command to build .net maui mac catalyst .pkg dotnet publish -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:EnablePackageSigning=true -p:CodesignKey="Apple Distribution: Eigil…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-03-01T17:15:48.87+00:00
Eigil Krogh Sorensen 76 Reputation points
edited the question 2024-04-08T06:01:26.33+00:00
Jack J Jun 24,281 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui app for android scrolling not work when Editor has focus

Hello all. VS Ver 17.10 preview 2 and Android Ver 34 My app scrolling not work when the editor has focus. when I unfocused the editor by moving the focus to an entry the scrolling is working. I have working hard to resolve this issue but no…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-03-31T16:56:32.17+00:00
Haviv Elbsz 1,886 Reputation points
accepted 2024-04-08T04:55:55.61+00:00
Haviv Elbsz 1,886 Reputation points
2 answers

How to use maui preferences in class library?

Hi, I have created one Maui application and in the same solution created one class library to maintain services.(please refer solution image) Now I need to store one value in preferences in service class. But service class in class library. So how can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-05T10:32:14.5766667+00:00
vijay ravuri 0 Reputation points
answered 2024-04-08T04:44:22.29+00:00
vijay ravuri 0 Reputation points
0 answers

MSB4018 The "GenerateStaticWebAsssetsPropsFile" task failed unexpectedly - but the project path name is short

I'm unable to perform a Build or publish a Blazor Hybrid App for iOS Targets. Initially stumbled upon this while working on a bigger app where the IPA should be triggered by a Windows machine calling msbuild.exe (and/or dotnet publish), but it's easily…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-04T09:18:52.3733333+00:00
Niko Kreuzer 0 Reputation points
commented 2024-04-08T02:09:45.9066667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,021 Reputation points Microsoft Vendor
1 answer

code works in Windows but not in Android , Do you see any issue with Sqllite nugets

@page "/" @using System.Text; @using System.Net.Http.Headers; @using Microsoft.AspNetCore.Components; @using Newtonsoft.Json; @using RateApp.Models; @if (listcount > 0) { <div class="row"> <div…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-03-23T13:03:58.1433333+00:00
Maui Learner 420 Reputation points
answered 2024-04-07T12:29:40.2833333+00:00
Maui Learner 420 Reputation points
1 answer

How to Measuring Download and Upload Speed within a .NET MAUI Blazor Application?

I'm working on a .NET MAUI Blazor application and I need to implement functionality to measure both download and upload speeds within the application. I want to display these speeds to the user for network performance monitoring purposes. Could someone…

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,378 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-04T07:50:06.14+00:00
NIRANJAN CHIGULLA 0 Reputation points
commented 2024-04-06T21:50:29.3766667+00:00
Bruce (SqlWork.com) 55,041 Reputation points
3 answers

App will run through visual studio but not via exe

I am developing a maui app in VS 2022, Debug and Release will run fine when launched via VS. However, when I go to the apps bin folder, it will not launch, I click on the .exe and nothing happens. I tried copying the bin/release and debug folders to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,574 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 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.
10,205 questions
asked 2024-03-03T22:43:14.8333333+00:00
Phunction 201 Reputation points
answered 2024-04-06T13:31:07.41+00:00
Kashif Faraz 0 Reputation points
1 answer One of the answers was accepted by the question author.

Conditional if

I am modifying my app on the widows side I have created a handler for SearchBar and Entry public class BorderlessEntry : Entry { } public class BorderlessSearchBar : SearchBar { } I put this in App …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
asked 2024-04-05T12:14:10.0566667+00:00
Eduardo Gomez Romero 185 Reputation points
accepted 2024-04-06T02:10:05.2633333+00:00
Eduardo Gomez Romero 185 Reputation points