2,870 questions with .NET MAUI tags

Sort by: Updated
1 answer

.Net Maui Deployment error

Net Maui looks great. Everything in VS works but when trying to build for Windows I cannot get past this error: DEP0800: The required framework…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
725 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-15T12:09:27.983+00:00
iancarr1412 1 Reputation point
commented 2022-07-28T01:19:54.423+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,336 Reputation points Microsoft Vendor
1 answer

How to change hand symbal instead of cursor in MAUI?

Hi, I am working on .Net MAUI. Actually I need to replace the hand icon instead of cursor when mouse over to the particular view. Can you please anyone help me to achieve it.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-26T06:22:59.08+00:00
Bharathi 1 Reputation point
answered 2022-07-27T06:58:44.687+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,546 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can StyleId property be used reliably to access XAML element unique identifier x:Name under .NET MAUI?

I understand that the StyleId property of XAML element inherits the x:Name identifier where StyleId itself is not explicitly assigned. On occasions when I needed to identify XAML elements in code-behind in Xamarin, I used StyleId to get to the x:Name…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-24T21:23:50.05+00:00
dg2k 1,386 Reputation points
accepted 2022-07-26T08:23:55.51+00:00
dg2k 1,386 Reputation points
1 answer One of the answers was accepted by the question author.

How to open same page as nested with Shell Flyout?

I worked at xamarin forms for a long time. I have an app running on xamarin forms thats published to the market currently. I'm doing preliminary work to migrate this app to maui. But I have some problems. I have a page template and when I press a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-18T12:24:07.98+00:00
Pelin Konaray 291 Reputation points
accepted 2022-07-25T12:39:05.7+00:00
Pelin Konaray 291 Reputation points
1 answer

How to pass parameter to FlyoutItem->ShellContent?

Hi, I have an application where I open the same page template as nested. I want to use shell flyout menu in my application. I added this page that I want to open nested in the shell as FlyoutItem->ShellContent. What I want to do is something like…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-20T08:22:20.22+00:00
Pelin Konaray 291 Reputation points
commented 2022-07-25T08:55:49.687+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,651 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Loop through synchronous list in asynchronous function

Hi, How can to loop through a synchronous list in an asynchronous function ? private void Button_Clicked(object sender, EventArgs e) { FirebaseHelper firebaseHelper = new FirebaseHelper(); var books =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 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,252 questions
asked 2022-07-22T06:52:33.01+00:00
Yusuf 681 Reputation points
accepted 2022-07-25T07:58:01.067+00:00
Yusuf 681 Reputation points
1 answer

How to run batch file from MAUI ?

Hi, How to run batch file from MAUI ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-18T12:05:26.87+00:00
Dani_S 2,726 Reputation points
commented 2022-07-25T01:17:27.537+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,651 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can Item Selection Checkbox for CollectionView be revealed by applying XAML Style on WinUI?

The item selection checkboxes for CollectionView are not visible as they should on WinUI (see screenshot below). I noticed a similar visibility issue for the navigation BackButton which I got solved through XAML styling, thanks to @Rob Caplan - MSFT …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-21T16:29:08.697+00:00
dg2k 1,386 Reputation points
accepted 2022-07-22T10:43:55.183+00:00
dg2k 1,386 Reputation points
1 answer

Delay in iOS startup

There is up to 20 second delay for a MAUI app to open at startup. The Splash screen is instant while it can take 20 seconds for the app the open. This is while debugging on a actual iPhone device. Just wondering if this is due to being in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-06-12T17:49:24.743+00:00
phil ciraolo 86 Reputation points
commented 2022-07-22T01:26:15.95+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,336 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How do you get WebView to work on WinUI with local web files?

In an attempt to migrate a published Xamarin app to .NET MAUI, I am finding it difficult for WebView to work with WinUI with WebView Source property set to a local file (as is the case with Xamarin). Xamarin Android: HTML and CSS files in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-17T18:36:35.76+00:00
dg2k 1,386 Reputation points
answered 2022-07-21T14:31:16.32+00:00
dg2k 1,386 Reputation points
2 answers One of the answers was accepted by the question author.

Loop Through List

Hi I am try to loop through generic list, I get different errors This works with static text namespace MauiApp { public class GraphicsDrawable : IDrawable { public void Draw(ICanvas canvas, RectF dirtyRect) {…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 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,252 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,119 questions
asked 2022-07-11T02:57:32.223+00:00
Yusuf 681 Reputation points
accepted 2022-07-20T17:39:54.727+00:00
Yusuf 681 Reputation points
0 answers

Problems with Microsoft Store and Unhandled Errors

Hello there, I have been working on making a MAUI based UPNP Port Mapper using Open.NAT, and I have ran into a problem that prohibits me from releasing the app onto the Microsoft Store properly. It shows a Internal 500 Error when calling…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
876 questions
asked 2022-07-11T01:37:27.207+00:00
Tobias Enriquez 1 Reputation point
commented 2022-07-18T09:07:26.87+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
0 answers

Issue with Razor Class Library in MAUI while publishing the iOS app.

While trying publish the MAUI app with Razor Class library for ios, we get below issue. Kindly help to resolve. *C:\Program Files\dotnet\sdk\6.0.301\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(267,5) : error…

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,391 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,011 questions
asked 2022-07-12T13:21:51.74+00:00
Ganesh 1 Reputation point
commented 2022-07-18T05:38:11.35+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,336 Reputation points Microsoft Vendor
1 answer

HttpClientHandler Proxy Unsupported

In the MacOS, Proxy member in HttpClientHandler throw exception "Operation is not supported on this platform." In code is marked [UnsupportedOSPlatform("browser")] What mean is "browser"? I think it must by…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-03T14:26:48.343+00:00
Sergey Stadniichuk 1 Reputation point
commented 2022-07-18T01:32:21.373+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,546 Reputation points Microsoft Vendor
1 answer

Error connecting to mac

Every time I try to connect to my mac to use the ios emulator I get the following error: Could not install workload 'ios'. Details: Workload installation failed: Failed to fetch results from V2 feed at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-06-16T17:11:27.027+00:00
Jeff Pfahl 91 Reputation points
answered 2022-07-15T18:27:16.907+00:00
Jeff Pfahl 91 Reputation points
3 answers One of the answers was accepted by the question author.

Variable cannot be changed

I cant change text value namespace MauiApp7 { public class GraphicsDrawable : IDrawable { public string text; public void Draw(ICanvas canvas, RectF dirtyRect) { canvas.DrawString(text, 60,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 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,252 questions
asked 2022-07-02T02:45:11.68+00:00
Yusuf 681 Reputation points
accepted 2022-07-13T01:37:45.813+00:00
Yusuf 681 Reputation points
1 answer

How to use Service Extension for UNNotificationServiceExtension with MAUI ?

I'm trying to implement iOS push notifications by following this guide: https://learn.microsoft.com/en-us/xamarin/ios/platform/user-notifications/enhanced-user-notifications At the end, there is "Implementing a Service Extension" which…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-06-14T20:08:27.127+00:00
Peter Bozovic 1 Reputation point
answered 2022-07-12T10:12:48.153+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,336 Reputation points Microsoft Vendor
1 answer

VS 17.3.0 Preview 2.0 Not paring with Mac - MAUI

I am trying to develop a MAUI application for iOS & Android with Razor Class Library. While trying to Pair my Mac with Visual Studio I face issue. In log I get below errors Xamarin.Messaging.Integration.State.IOSServerStateContextExtensions…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,011 questions
asked 2022-07-06T09:58:06.863+00:00
Ganesh 1 Reputation point
commented 2022-07-12T07:10:27.577+00:00
Tianyu Sun-MSFT 27,271 Reputation points Microsoft Vendor
1 answer

Unwanted padding on ListViewItem in .net MAUI

0 I have created a ListView which is binded to desired items. However, on each ListViewItem there is unwanted padding which i have checked in XAML visual preview (12,0,0,0) However, I haven't found any way to set the padding to 0 for…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 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,252 questions
asked 2022-07-06T11:53:41.13+00:00
Laradius 1 Reputation point
commented 2022-07-11T07:24:00.277+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,546 Reputation points Microsoft Vendor
1 answer

How to Build .NET MAUI on Windows using a MacinCloud host

Trying to build an iOS app from my Windows machine using a Paired Mac from MacinCloud. I'm using the following command from Terminal: dotnet publish -f:net6.0-ios -c:Release /p:ServerAddress={ip address} /p:ServerUser={userid}…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,870 questions
asked 2022-07-05T22:28:27.58+00:00
phil ciraolo 86 Reputation points
commented 2022-07-11T02:10:18.737+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,336 Reputation points Microsoft Vendor