3,093 questions with .NET MAUI tags

Sort by: Updated
0 answers

No compatible code running on the thread

I know what is causing this, but the solution evades me, because many of the answers are "I upgraded to the next VS version", which is not helpful. What is causing this: I have a class (record) that overrides the AutomationId property of a UI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-21T14:09:08.9533333+00:00
Russell Hires 0 Reputation points
commented 2024-06-25T12:09:00.42+00:00
Russell Hires 0 Reputation points
1 answer

Problem with rewrite the Backgrounding event

Hi, In continue to https://learn.microsoft.com/en-us/answers/questions/1690214/register-close-button-in-mac All my work in pages stop working. Working with http + tasks. it fire the close button event and close the app. Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-18T06:41:00.6+00:00
Dani_S 3,126 Reputation points
edited a comment 2024-06-25T10:32:42.0566667+00:00
Dani_S 3,126 Reputation points
0 answers

Sharpie Binding Error.

Hai, I'm trying to bind an objective C/Swift ios static library with maui binding project. I'm getting the following error when i use the command line to generate the binding for me. It is not very clear as to what is causing is error. Kindly guide me…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
961 questions
asked 2024-06-06T05:55:04.53+00:00
Joel Leo 0 Reputation points
commented 2024-06-25T10:21:11.65+00:00
Joel Leo 0 Reputation points
2 answers

view and print pdf in .net maui

Hello, I would need to be able to view and print a pdf that is hosted on a server. The url of the pdf will be sent to the app. To view it I am using a Webview with the following prefix as Source: pdfview.Source =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-14T05:38:19.0766667+00:00
shadeveloper 20 Reputation points
answered 2024-06-25T09:46:15.3933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,071 Reputation points Microsoft Vendor
0 answers

How to find where .pkg file store the installed app

I Use the following command to create a .pkg: .NET CLICopy dotnet Publishing builds the app, and then copies the .app to the bin/Release/net8.0-maccatalyst/ folder or the .pkg to the bin/Release/net8.0-maccatalyst/publish/ folder. If you publish the app…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-25T09:23:23.6533333+00:00
Dani_S 3,126 Reputation points
0 answers

How to run background tasks in .net Maui Windows App

Greetings, I am trying to run a back ground task in my .net Maui windows applicaion. I tried using IBackgroundTask interface. The task is registerd successfully, but it does not run when triggred. I've tried the same exact code with UWP (Blank UWP for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-25T09:10:41.27+00:00
Iyad Alomar 0 Reputation points
edited the question 2024-06-25T09:16:56.19+00:00
Iyad Alomar 0 Reputation points
1 answer

Issues in running the MAUI app in Macbook

We created a MAUI app using version .Net8.0. We are trying to debug/run the app by connecting Visual Studio to Mac, but we are encountering issues debugging the app. The pipeline is functioning as expected. Specifically, we're facing an issue with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-25T05:57:13.5833333+00:00
Srilekha Chowdary 40 Reputation points
commented 2024-06-25T09:15:32.01+00:00
Patil, Sunil 0 Reputation points
1 answer

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 3,126 Reputation points
commented 2024-06-25T08:53:22.6066667+00:00
Dani_S 3,126 Reputation points
1 answer

How can I use the native iOS AVPlayer to play videos?

I want to use the native iOS AVPlayer to play videos in full screen when the user taps on a button in my game. In addition, I want to sometimes display a video when the user reaches a certain point in my game. Currently, the video is displayed in full…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-21T08:48:36.4966667+00:00
Kim Strasser 751 Reputation points
edited an answer 2024-06-25T08:31:18.0033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,071 Reputation points Microsoft Vendor
0 answers

Regarding APP ICON

I have a icon which is square in shape, I want it to fit without showing background. In the below screenshot, My icon looks like webview app icon, I want it to show like maps app icon irrespective of icon outline. I have a square shaped outline in which…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-21T04:52:31.8233333+00:00
Keerthana Krishna 60 Reputation points
edited a comment 2024-06-25T08:30:07.53+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,051 Reputation points Microsoft Vendor
0 answers

How to apply search in collection view with portion loaded data?

i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 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,534 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.
779 questions
asked 2024-06-24T16:24:32.32+00:00
Kaouthar GR AOUICHAOUI 80 Reputation points
commented 2024-06-25T07:31:38.2566667+00:00
Kaouthar GR AOUICHAOUI 80 Reputation points
1 answer

Closing app on no internet

Hi I am trying to check internet and to show a mesage to user before closing the app. Problem is DisplayAlert does not show before app is closed. How can I make the DisplayAlert show? Thanks Regards public partial class App: Application { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-24T00:21:55.0766667+00:00
-- -- 892 Reputation points
answered 2024-06-25T07:28:00.8366667+00:00
梁友泽 75 Reputation points
0 answers

Android app crash on Prod but working fine on debug and Qual

I got this error System.TypeLoadException: Could not resolve type with token 01000003 from typeref (expected class 'System.Reflection.AssemblyProductAttribute' in assembly 'mscorlib, Version=4.0.0.0, Any solution for this issue?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-24T03:29:12.89+00:00
Ain Natasha 0 Reputation points
commented 2024-06-25T06:36:44.4366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,066 Reputation points Microsoft Vendor
0 answers

Open and close access to USB and Cdrome

Hi, I want to build client on Maui on windows that do the following things. In computer that has no antivirus. When client is loading it will close all the access to USB and Cdrome through registry. And when user insert USB or Cdrome the system identify…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-24T03:51:37.24+00:00
Dani_S 3,126 Reputation points
commented 2024-06-25T05:56:34.92+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,071 Reputation points Microsoft Vendor
1 answer

How do you read an SMS and MMS message using .NET MAUI (on Android only)?

I'd like to read an SMS and/or MMS message on an Android device only, but from within my .NET MAUI app. Specifically, I want to save any received (MMS) picture that has been texted to me plus any associated (SMS) text. Is this possible with .NET MAUI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 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,534 questions
asked 2024-06-19T23:12:35.5966667+00:00
Gene Magpayo 0 Reputation points
edited a comment 2024-06-25T05:53:24.54+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,051 Reputation points Microsoft Vendor
2 answers

Android Emulator 34 - " Could not start Emulator in HOST GPU Mode"

I downloaded the latest Visual Studio 2022 and I am following the steps to create an Android App. When starting the Emulator I get the Popup error: "Could not start Emulator in host GPU mode" "Please check if you can update your video…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,793 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-22T15:50:12.65+00:00
PeterSmith-3108 0 Reputation points
commented 2024-06-25T05:37:23.45+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,066 Reputation points Microsoft Vendor
0 answers

My app icon is not displayed correctly on iOS. But my app icons are in AppIcon.appiconset

I have added my app icons on my iMac to my iOS project in Assets.xcassets-->AppIcon.appiconset. After that I copied my iOS project to my Windows 11 laptop and then I paired Visual Studio with my iMac to debug the iOS project on my iPad. But the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-23T11:51:42.26+00:00
Kim Strasser 751 Reputation points
edited a comment 2024-06-25T05:30:34.8733333+00:00
Liqun Shen (Shanghai Wicresoft Co Ltd) 160 Reputation points Microsoft Vendor
0 answers

Build error "The type 'BaseVideoView' already contains a definition for 'PlayerStateChanged'" when integrating android library in .net maui application

I have an native android library for video player and added this library(.aar) to android binding library in .net maui 8.0 to integrate the library with .net maui. I have followed the steps in the link…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-10T10:51:40.6233333+00:00
Suvarna KR 0 Reputation points
commented 2024-06-25T05:27:57.0466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,066 Reputation points Microsoft Vendor
0 answers

Nunit in .net maui

We are trying to use Nunit/xunit in our project. Due to some dependencies with the other nuget packages, we are unable to run the test cases and giving errors. We are using Zebra.Printer.SDK- Version="3.0.3271" because of this we are unable to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-24T11:05:29.27+00:00
Keerthana Krishna 60 Reputation points
commented 2024-06-25T03:39:00.7533333+00:00
Keerthana Krishna 60 Reputation points
0 answers

Maui MediaPicker.Default.CapturePhotoAsync fails under iOS with no error message

Hi, When I try to capture an image on a physical Apple device using MediaPicker.Default.CapturePhotoAsync() the calling function stops functioning with no error message and returns a null. My project is running the following…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-21T16:14:29.3566667+00:00
Grant Schaffer 25 Reputation points
commented 2024-06-25T03:23:28.6266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,071 Reputation points Microsoft Vendor