2,859 questions with .NET MAUI tags

Sort by: Updated
4 answers

How can I display a PDF file in .NET MAUI - using the PDF.js library - for iOS and Windows?

I plan to display a PDF file on my MAUI app. I tried following the answer at this link (https://learn.microsoft.com/en-us/answers/questions/1310387/how-to-view-the-pdf-file-from-maui) and it worked for Android. The PDF is in the Resources\Raw. I want…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2023-12-13T15:32:35.8533333+00:00
Auto 46 Reputation points
edited a comment 2024-04-23T03:21:23.63+00:00
Đặng Trung Hiếu 0 Reputation points
0 answers

.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?

so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 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,234 questions
asked 2024-04-19T20:56:32.3766667+00:00
Min T 41 Reputation points
commented 2024-04-23T02:49:34.18+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,416 Reputation points Microsoft Vendor
1 answer

How to contribute to MAUI Development/Bug fixing

Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
commented 2024-04-23T02:11:47.63+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,221 Reputation points Microsoft Vendor
0 answers

System.NullReferenceException: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object. at Mono.Debugging.Soft.SoftDebuggerAdaptor.GetTypeName(EvaluationContext ctx, Object type) in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-22T06:51:46.9233333+00:00
Ashutosh Mehere 0 Reputation points
commented 2024-04-23T01:16:41.4233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
2 answers

Transparent flyout items

I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 205 Reputation points
commented 2024-04-22T20:20:59.74+00:00
Eduardo Gomez Romero 205 Reputation points
2 answers One of the answers was accepted by the question author.

Mac question

I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 205 Reputation points
accepted 2024-04-22T20:17:30.2166667+00:00
Eduardo Gomez Romero 205 Reputation points
1 answer

Format of the initialization string does not conform to specification starting at index

I am using .net android(not maui) and ef core and sqlite. but there is error Format of the initialization string does not conform to specification starting at index how to use sqlite in .net android?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-22T10:36:01.19+00:00
mc 3,641 Reputation points
answered 2024-04-22T18:26:48.6666667+00:00
Bruce (SqlWork.com) 55,601 Reputation points
1 answer

.NET MAUI Application is not supported on Visual Studio Mac

When I tried to run the MAUI project on Visual Studio Community 2022 for Mac, I faced the error below. Error: Could not find any available provisioning profiles for ApplicationName on iOS. I fixed the above error by deleting the .vs, obj, and bin folders…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,599 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-20T11:26:10.47+00:00
Aleena George 20 Reputation points
commented 2024-04-22T08:20:20.2966667+00:00
Aleena George 20 Reputation points
2 answers One of the answers was accepted by the question author.

How to update entire MAUI workload to latest? (8.0.20)

How do I update my entire .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-16T09:48:41.18+00:00
Mikkel Bech 30 Reputation points
accepted 2024-04-22T07:53:05.24+00:00
Mikkel Bech 30 Reputation points
1 answer

how to change the sdk and emulator path?

the android sdk and emulator is all in C:\\ how to change the path? one of the emulator path is C:\Users\ljzj\.android\avd\pixel_5_-_api_30.avd how to change it to other path

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-19T13:11:37.76+00:00
mc 3,641 Reputation points
answered 2024-04-22T07:08:33.9466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,416 Reputation points Microsoft Vendor
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,859 questions
asked 2024-04-01T08:33:04.75+00:00
Thombre, Ashish 105 Reputation points
commented 2024-04-22T05:51:31.3333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,416 Reputation points Microsoft Vendor
1 answer

Seeking Alternative to Xamarin.Forms.Mocks for MAUI

I'm currently working on a project using MAUI and need a mocking framework similar to Xamarin.Forms.Mocks for Xamarin.Forms. However, I'm unsure if there's an equivalent library specifically designed for MAUI. Could anyone recommend an alternative or…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2023-10-23T07:16:47.61+00:00
Mahesh Amin 0 Reputation points
commented 2024-04-22T05:07:35.74+00:00
Thomas Galliker 0 Reputation points
1 answer

Implementing Vertical Design for Android and iOS, Horizontal Layout for Windows in MAUI: Guidance Needed

Is it possible to implement a vertical design for Android and iOS, while ensuring a horizontal layout for Windows in a MAUI application? If so, could you guide me on how to achieve this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-03-29T09:48:02.8933333+00:00
Sarfaraz Sable 20 Reputation points
commented 2024-04-22T03:18:00.7233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
1 answer

Maui .Net 8 XCode 15.1 and 15.2 NativeAOT Error in Testflight

Hello, I have an Maui app built with XCode 15.2 and .Net 8. I am using Microsoft.EntityFrameworkCore.Sql V8.0.4 When I install it on my iPad with test flight I get: Model binding is not supported when publishing with NativeAOT. Use a compiled model. I…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-19T16:55:14.02+00:00
Grant Schaffer 0 Reputation points
answered 2024-04-21T15:11:22.8666667+00:00
Bruce (SqlWork.com) 55,601 Reputation points
1 answer

Fixing issues with AOT compilation

Hello! I have a .NET MAUI 8 app that I target for Android, WinUI and iOS. I'm using EF Core (context is in separate project) and SQLite DB that gets created on app launch. The issue is with the iOS version and I'm suspecting the issues is with AOT…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-03-28T04:42:41.8566667+00:00
MKinOZ 31 Reputation points
answered 2024-04-20T21:09:12.8766667+00:00
Grant Schaffer 0 Reputation points
1 answer One of the answers was accepted by the question author.

Screen Orientation in .NET Maui Application

I am looking to force a certain page to be displayed in landscape mode only. Is there a way to do this in shared code (I am only producing for iOS and Android, no Windows or MacCatalyst needed).

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-18T14:53:49.4766667+00:00
Isspro-eng 40 Reputation points
accepted 2024-04-19T13:50:48.9133333+00:00
Isspro-eng 40 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin.Azure.NotificationHubs.iOS migration .net8

As a part of xamarin migration to .net8? I need to migrate integration with Microsoft Notification hub. THe libs that I was using are Xamarin.Azure.NotificationHubs.iOS for ios and Xamarin.Azure.NotificationHubs.Android for android. According to the…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
262 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-18T12:49:16.5466667+00:00
Oleksandr Gridin 20 Reputation points
accepted 2024-04-19T08:15:52.59+00:00
Oleksandr Gridin 20 Reputation points
1 answer

How to implement "When the maui project is executed and compiled to generate an EXE, how to place all the dependent dll files of the EXE in the libs directory under the EXE directory"

I am a beginner of MAUI. I developed a simple Windows project using maui. I now encounter a problem. The problem is that the compilation result of this project will copy all the dependent DLLs of the EXE to the same directory of the EXE. These DLLs…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 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,234 questions
asked 2024-04-16T07:51:34.15+00:00
晅晢 廖 0 Reputation points
commented 2024-04-19T03:17:55.14+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,291 Reputation points Microsoft Vendor
0 answers

[MAUI] How to set the icon of a new window in MAUI? Including Android and Windows platforms

I need to open a new window on my Android device and set its icon, similar to a WeChat mini program, but I haven't seen any API documentation related to it in the official documentation that allows me to set its icon, so I want to ask if this is possible…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,367 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-18T01:43:45.9833333+00:00
studio XFE 5 Reputation points
commented 2024-04-19T03:17:43.4033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,416 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to create borderless entry in iOS- maui .Net 8

I want to create a border less entry and picker in maui for iOS Net8 Thanks Vaibhav Methuku

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,859 questions
asked 2024-04-01T02:51:09.47+00:00
Vaibhav Methuku 60 Reputation points
accepted 2024-04-18T10:39:48.9966667+00:00
Vaibhav Methuku 60 Reputation points