3,196 questions with .NET MAUI tags

Sort by: Updated
1 answer

MT1007 failed to launch the application

I use .net ios(NOT xamarin and NOT MAUI). xcode 14(my mac do not support the newst version). net ios 7.0 I first create samle bundle project and install in in my physical device and I can tap on it to run it. but I can not do it in VS2022. the target is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-16T09:36:53.2+00:00
mc 4,106 Reputation points
commented 2024-07-17T21:57:36.42+00:00
Bruce (SqlWork.com) 61,101 Reputation points
0 answers

Mac - keep data in memory and get data

Hi, I run mac app in vs code net 8. after publishing it using this command: dotnet publish -f net8.0-maccatalyst -c Release The app stop working me, the logic not working. I keep data in singelton class and I reach from other pages to this class. It work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-14T13:15:46.56+00:00
Dani_S 3,296 Reputation points
commented 2024-07-17T21:45:37.0233333+00:00
Bruce (SqlWork.com) 61,101 Reputation points
0 answers

Compress video and limit video length for video capture on Maui for Windows

Maui MediaPicker does not give options for compression and max video length for CaptureVideoAsync. Is there a native way to do this on Windows?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T21:13:48.6633333+00:00
Eric L 0 Reputation points
0 answers

Trouble accessing custom field properties in ObservableCollection

I created an ObservableCollection in my ViewModel and defined a CustomField class that implements INotifyPropertyChanged. However, when I try to access the properties of the CustomField model in the view, I get an error saying that the members cannot be…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,863 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 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,616 questions
asked 2024-07-17T18:43:00.8866667+00:00
Mirai Dinelli 0 Reputation points
commented 2024-07-17T20:29:05.3466667+00:00
Mirai Dinelli 0 Reputation points
0 answers

Can not apply style written in c#

Hello, i have created style in C# code and tried to apply this style to the frame, named ControlsGroupMainFrame4 (written in XAML). Tried both WinUI and Android apps. Both apps do not throw any error and start fine, but the style is not applied. Style…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T18:34:26.77+00:00
AAA BBB 21 Reputation points
edited the question 2024-07-17T18:37:54.9133333+00:00
AAA BBB 21 Reputation points
0 answers

Remove bumptech.glide.load.data java package from maui app

I am building a maui app targeting .Net 8. I see the app depends on the java package bumptech.glide.load.data which also allows HTTP(non https) URL. I could not find direct dependency on bumptech.glide.load.data package what is the best way to remove…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T17:32:15.8466667+00:00
Somnath Shukla 411 Reputation points
1 answer

Error APPX1101: [UWP] Payload contains two or more files with the same destination path: Microsoft.Web.WebView2.Core.dll

Installed Visual Studio 2022 (on a clean/fresh Windows 11 installation) version 17.10.0 Installed Microsoft.Identity.Client.Desktop Nuget package to open sign in within the window application. After that I'm getting "Found multiple publish…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 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,616 questions
asked 2024-07-15T10:48:23.1366667+00:00
Ravi Khandale 5 Reputation points
commented 2024-07-17T15:28:32.0366667+00:00
Ravi Khandale 5 Reputation points
1 answer

How can I rotate the iOS simulator?

Only the screen of the simulator rotates instead the entire simulator when I click on the rotate buttons: Is it possible to rotate the entire simulator?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,863 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T11:55:26.3633333+00:00
Kim Strasser 816 Reputation points
answered 2024-07-17T13:45:13.1466667+00:00
Hakeem A 0 Reputation points
0 answers

ERROR: An error occurred when writing to the output stream.

My iOS game gets always terminated when I try to debug it on my iPad OS version 17.5.1. I use Visual Studio Community 2022 (64-bit) Version 17.10.4 on my Windows 11 laptop. My iPad is connected to my iMac and I paired my iMac with VS. When I click on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-16T11:36:33.8033333+00:00
Kim Strasser 816 Reputation points
edited a comment 2024-07-17T13:32:09.28+00:00
Kim Strasser 816 Reputation points
0 answers

How can I use the Android Exoplayer to play videos?

Currently I use the Xamarin MediaManager to play videos: https://github.com/Baseflow/XamarinMediaManager Is it possible to use the Android Exoplayer instead to play videos? I want to find out if the black screen that appears before a video is played will…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T12:28:29.27+00:00
Kim Strasser 816 Reputation points
edited the question 2024-07-17T13:29:45.7166667+00:00
Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
0 answers

Maui for Android context menu pop-up paste in Editor scroll problem

Hello All. in my app when the Editor contains many lines of text and I tap the pop-up cut menu and then I long press and tap the paste menu the Editor text scroll to the bottom of the Editor and also the screen scroll to the bottom. Note that I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-14T06:16:13.8166667+00:00
Haviv Elbsz 2,071 Reputation points
commented 2024-07-17T13:02:57.9+00:00
Haviv Elbsz 2,071 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. I can not use this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-01T10:46:09.4966667+00:00
mc 4,106 Reputation points
commented 2024-07-17T12:32:14.5866667+00:00
mc 4,106 Reputation points
1 answer

How to install .pkg file in customer and run the app?

Hi, In the end of the thread (https://learn.microsoft.com/en-us/answers/questions/1731082/how-to-find-where-pkg-file-store-the-installed-app?comment=answer-1570815&page=1#comment-1638338) you said: "If you send a link to the customer, the pkg…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-11T10:19:07.9733333+00:00
Dani_S 3,296 Reputation points
commented 2024-07-17T11:43:35.5066667+00:00
Dani_S 3,296 Reputation points
0 answers

Unnessary folders after pulish in windows

Hi, Which folder are no need after publish : dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T08:51:34.1133333+00:00
Dani_S 3,296 Reputation points
commented 2024-07-17T11:42:06.45+00:00
Dani_S 3,296 Reputation points
2 answers One of the answers was accepted by the question author.

flayout navigation - how to deal with rasing memory?

Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,296 Reputation points
edited a comment 2024-07-17T11:40:26.1533333+00:00
Dani_S 3,296 Reputation points
0 answers

How Convert Xamarin.iOS(native) into MAUI

I have existing xamarin.iOS project. Now there is a requirement to embed Xamarin.iOS(native) into MAUI, is there any possible way to do that? several issues Like how we can utilise our existing story board user interface to MAUI and backend code for…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,608 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-17T08:36:32.6966667+00:00
Amarjeet Singh 0 Reputation points
2 answers

How to store large amount of Data in maui application.

Hello Team, We had migrated our xamarin application to Maui - We need to store large json file approx ( 1 Lakh lines). Earlier in Xamarin we used to create a text file in local folder and we used to write into that particular file. Can we follow the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-11T05:34:29.1466667+00:00
Vaibhav Methuku 80 Reputation points
commented 2024-07-17T07:17:51.1633333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,906 Reputation points Microsoft Vendor
1 answer

Media file picker features in .NET MAUI like in Xamarin Forms

Hi, Is there any way to compress the image and remove the metadata option for the media picker in MAUI like it had in the below package? https://github.com/jamesmontemagno/MediaPlugin

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-15T08:47:32.7+00:00
Chinmay Dole 120 Reputation points
commented 2024-07-17T07:01:34.44+00:00
Chinmay Dole 120 Reputation points
1 answer

The display of my Android device gets black for a short time before the video gets displayed

The display of my Android device gets black for a short time before the video gets displayed. I use this code to play a video and I don´t know why the display gets completely black for 1-2 seconds before the video gets played. It´s not bad that 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,863 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-16T13:07:13.0066667+00:00
Kim Strasser 816 Reputation points
answered 2024-07-17T05:59:37.7+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,906 Reputation points Microsoft Vendor
0 answers

.NET MAUI infinite building when added Plugin.Firebase

Hello. I want to develop an IOS application and when I add Plugin.Firebase to be able to send notifications the application won't build when pressing F6. Here's the .csproj file <Project…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,196 questions
asked 2024-07-16T17:34:18.3266667+00:00
Teodor Kapitanov 0 Reputation points
commented 2024-07-17T03:16:34.2633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor