3,122 questions with .NET MAUI tags

Sort by: Updated
1 answer

Need Help Diagnosing Maui runtime Crash in iOS App

Hi everyone, I'm experiencing a crash in my iOS app and would appreciate some assistance in diagnosing the issue. The crash report indicates a SIGABRT (signal 6, abort trap) caused by an abort() called in the main thread. Here are the relevant details…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 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,136 questions
asked 2024-07-01T03:39:18.5466667+00:00
Jonathan Abraham 0 Reputation points
edited the question 2024-07-02T01:24:10.6633333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor
0 answers

MAUI .NET 8 on Android - throwing an exception

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When I tried to run the project with the Android device with Visual Studio Windows, which threw the exception below, 1>MSBUILD : java.exe error JAVA0000: Error in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-07-01T12:26:36.5066667+00:00
Aneetha 0 Reputation points
edited the question 2024-07-02T00:43:07.7666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
0 answers

Carousel is not working on windows platform ?

I have created carousel is working well on android platform. But it is not working on windows platform. How to fix it or another solution for windows platform.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-07-02T00:34:46.56+00:00
Sami 861 Reputation points
1 answer One of the answers was accepted by the question author.

Hamburger menu freezing on one view only in Release build

I have a view in my AppShell that works totally fine in the Debug build. When I navigate to that view in the Release build using the hamburger menu, the application freezes on the screen that I was on prior to navigation. I can still use the hamburger…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-18T19:09:03.39+00:00
Fred Kozlowski 20 Reputation points
commented 2024-07-01T19:44:13.59+00:00
Fred Kozlowski 20 Reputation points
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,035 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 25 Reputation points
commented 2024-07-01T17:29:13.8+00:00
Grant Schaffer 25 Reputation points
1 answer

Why is the browser name is missing from the userAgent string of the browser when running the MAUI Blazor project on iPad?

Hi Guys, I am working on a MAUI Blazor project. In it, I am handling the drag operation based on the browser name that is present in the userAgent property. The userAgent property gives the name of the browser when running in the windows. But when I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-07-01T10:06:33.4+00:00
MAUI Blazor Developer 0 Reputation points
answered 2024-07-01T16:22:16.5033333+00:00
Bruce (SqlWork.com) 59,966 Reputation points
1 answer

can not use UIKit or others in .net ios Bindings?

I created ios Binding project. and want to compile .a file to .dll there is ApiDefinition and StructsAndEnums.cs but both of them can not use ios UIImage NativeHandle Export Verify and all of it. CGSize Static can not use too.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,318 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-07-01T10:46:09.4966667+00:00
mc 4,006 Reputation points
answered 2024-07-01T16:11:08.2866667+00:00
Bruce (SqlWork.com) 59,966 Reputation points
2 answers

Clarifying the Differences Between SDKs, Workloads, and NuGets in .NET

Could someone explain the differences between .NET SDK, .NET Workloads, and the MAUI NuGets and how they are related to each other? Although I understand SDKs and NuGets, I fail to grasp the purpose of workloads. When am I supposed to update each one? If…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-26T08:15:48.8966667+00:00
Mirinimp 0 Reputation points
edited an answer 2024-07-01T15:56:05.1966667+00:00
Bruce (SqlWork.com) 59,966 Reputation points
1 answer

MAUI .NET 8 on iOS - throwing an exception

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When tried to run the project with the iOS simulator with Jetbrains Rider, which threw the exception below, 2024-06-26 18:04:18.531738+0530 SKM_MOBILE[13228:278431]…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-27T05:34:07.4666667+00:00
Aneetha 0 Reputation points
answered 2024-07-01T12:07:44.52+00:00
Aneetha 0 Reputation points
0 answers

Targetting xaml for multi platform

I have a xaml that includes android specific library as assembly and it needs to compiled only for android target platforms. I tried by putting it in platforms folder but it did not work . My assembly inclusion is present in xaml itself like the below…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-07-01T11:57:57.6166667+00:00
Manickam, Suraj 280 Reputation points
2 answers

Is it possible to play videos on Android with a native video player?

In one project the following code for Xamarin MediaManager works. But I have another project where I use the same code and there it is not working. The problem is that the video is not correctly displayed in full screen because there is a small free area…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-22T10:01:05.73+00:00
Kim Strasser 811 Reputation points
commented 2024-07-01T09:37:31.4633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
1 answer

Issues with certain libraries included for specific frameworks

We have certain nuget packages available for different target frameworks either Android or IOS or just .net8.0 ,this is controlled via csproj , Is there any better way to let my .cs files know that it has to build only for this target frameworks other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-26T09:34:46.0866667+00:00
Manickam, Suraj 280 Reputation points
commented 2024-07-01T08:52:44.8133333+00:00
Manickam, Suraj 280 Reputation points
1 answer

How ro change Hamberger icon backgound color to green in .net maui

When i am clicking on push notification it navigates to the Consumable request details page and when clicking on back button it navigates to the Consumable request page. When it navigates to Consumable Request page tools bar color changing to black…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-27T20:16:02.1666667+00:00
Thombre, Ashish 125 Reputation points
commented 2024-07-01T07:09:02.7433333+00:00
Thombre, Ashish 125 Reputation points
0 answers

MAUI ios app build fail with doesn't have a target for 'net8.0-ios/iossimulator-x64'

After updating my laptop from an Intel-based Mac to a Silicon-based Mac, I am unable to build my project . In my project i am targeting ios only . The error message I received is as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-28T18:17:27.3566667+00:00
RAgib Noor 1 Reputation point
commented 2024-07-01T06:58:15.05+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
0 answers

Looking for DX12/11 sample for MAUI

We're currently working on porting our 3D rendering SDK to support MAUI for Windows, and we already have support for .NET8 Winforms, WPF on Windows, and MAUI on Android and iOS. Are there any DX12 or DX11 based samples or demos that we might have…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-26T11:01:14.3333333+00:00
AGNIHOTRI Sahil 1 Reputation point
edited a comment 2024-07-01T05:40:36.63+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
1 answer

The background color of my LaunchScreen.storyboard is not displayed on my iPad

I have created a launch screen in my iOS project on my iMac. After that I have copied my iOS project to my Windows 11 laptop. But the problem is that the background color of my launch screen is not displayed when I debug my game on my iPad. The…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,808 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-26T22:05:42.0566667+00:00
Kim Strasser 811 Reputation points
commented 2024-07-01T05:11:09.7733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor
0 answers

.Net Maui, use gestures on tabbed page

Hi, I have a tabbed page with 2 tabs, on one tab I have and image that I would like the user to be able to use touch to pinch zoom and pan the image around. I use this to show the image: <Grid x:Name="imageView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 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,557 questions
asked 2024-06-28T23:38:06.1833333+00:00
Phunction 226 Reputation points
commented 2024-07-01T04:12:18.2166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
2 answers

how to use .a file in .net ios?

I am using .net ios. what should I do next? I am not using xamarin.ios and maui. I am using .net ios.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-29T08:38:12.6066667+00:00
mc 4,006 Reputation points
edited the question 2024-07-01T00:41:06.8633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
1 answer

how to bind ios .a library?

I am using .net ios(not maui or xamarin). I have framework of ios. and want to bind it to .net ios. I use mac to compile the framework to libxxxx.a and how to bind it? I add the libxxxx.a to my project but nothing generated. and I create ios Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-30T15:13:37.3733333+00:00
mc 4,006 Reputation points
edited the question 2024-07-01T00:40:53.1333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

can not set background color in .net ios?

I created .net ios (not xamarin.ios and MAUI). Window = new UIWindow(frame: UIScreen.MainScreen.Bounds); var rootView = new MainController(); Window.RootViewController = rootView; Window.MakeKeyAndVisible(); in MainController View.BackgroundColor =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,122 questions
asked 2024-06-26T04:57:45.58+00:00
mc 4,006 Reputation points
accepted 2024-06-30T02:29:50.17+00:00
mc 4,006 Reputation points