Microsoft Q&A

.NET MAUI

902 questions

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.

Browse all .NET tags

902 questions with .NET MAUI tags

Sort by: Updated
0 answers

Maui customise Entry elements for android issue

Hi all This code work but 1 Why I forced to add the using directive 2 Why its not working when I put it in content page constructor My Entry elements background color is lost why so. From the internet solutions the same …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-03T11:17:45.68+00:00
Haviv Elbsz 481 Reputation points
commented 2023-01-31T09:05:13.88+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,661 Reputation points Microsoft Employee
1 answer

How to implement a customized splash screen in .iOS(.Net MAUI)?

Hi .Net MAUI team, I want to create customized splash screen images instead of a simple logo icon. Similar to Xamarin Form, we can able to customise the splash screen using "LaunchScreen.storyboard". but .Net MAUI we don't have an option. I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-19T09:40:01.24+00:00
Harshad Patel 0 Reputation points
commented 2023-01-31T08:58:03.0133333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Check if frame is in specified position .net maui

is it possible to check if there is anything in the specified position of a grid? for example: if (Frame in Grid.Position(1,7)) { Console.Write("Specified position is already in use."); } I am trying to make a map editor for my own custom…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
631 questions
asked 2023-01-24T08:13:42.0133333+00:00
Mielesplayz 281 Reputation points
edited a comment 2023-01-31T08:57:35.2566667+00:00
Mielesplayz 281 Reputation points
0 answers

Failed to compile third-party dynamic libraries using AOT in the MAUI(Andriod) project?

Create a MAUI APP project with VS2022(Version 17.4.4) install TencentCloud.dll from nuget; direct publish project, it takes very long,long time; about three hours. finally compiler…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-30T01:36:17.93+00:00
晓宁 焦 0 Reputation points
commented 2023-01-31T06:13:59.9633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,661 Reputation points Microsoft Employee
0 answers

Failed to create release build in iOS due to bitcode issue of Plugin.Firebase in .net MAUI having dotnet 7.

Have implemented fcm push notification in MAUI having .net version 7 from the below link : https://cedricgabrang.medium.com/firebase-push-notifications-in-net-maui-ios-2f4388bf1ac. For testing , creating release build to test on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 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.
7,001 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
631 questions
Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
369 questions
asked 2023-01-30T18:27:08.49+00:00
Priya Baghel 1 Reputation point
commented 2023-01-31T04:31:09.7233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Debugging Shell Navigation

Hello Friends, I was wondering if anyone knows where to put my DebuggerDisplay Attribute annotations so that I can debug my navigation requests. Thanks !!! Debugging navigation Some of the Shell classes are decorated with the DebuggerDisplayAttribute,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 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.
7,001 questions
asked 2023-01-27T19:08:08.5433333+00:00
Ronald Rex 531 Reputation points
accepted 2023-01-30T23:01:26.04+00:00
Ronald Rex 531 Reputation points
1 answer One of the answers was accepted by the question author.

How can I use WeakReferenceMessenger instead of MessagingCenter in my iOS project?

I get the following message when I use MessagingCenter in my .NET 7.0 iOS project: [deprecated] class Microsoft.Maui.Controls.MessagingCenter Associates a callback on subscribers with a specific message name. CS0618: 'MessagingCenter' is obsolete: 'We…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 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.
7,001 questions
asked 2023-01-29T16:30:19.28+00:00
Kim Strasser 361 Reputation points
commented 2023-01-30T12:25:32.74+00:00
Kim Strasser 361 Reputation points
1 answer

Net Maui How to show or hide ( collapsed ) content in stacklayout or grid ?

<StackLayout ZIndex="1" x:Name="Page" IsVisible="true" ></StackLayout> <StackLayout x:Name="Page2" IsVisible="false" ></StackLayout>

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-15T00:02:06.5266667+00:00
Sami 101 Reputation points
commented 2023-01-30T09:41:57.34+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
1 answer

Intent Filter / DeepLink .Net MAUI

I want to implement an application that will be viewable in my application using Intent Filter. I added in the MainActivity.cs file Filter Intent [IntentFilter(new[] { Intent.ActionView }, Categories = new[] { Intent.ActionView, Intent.CategoryDefault,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
631 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.
7,001 questions
asked 2023-01-19T14:47:27.51+00:00
Влад Тигинян 0 Reputation points
commented 2023-01-30T08:47:31.04+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,661 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Check if two frames are overlapping in .net maui

is it possible to detect it when two frames are overlapping (even when they don't have the same parent)? I need it for my .net maui project (A game in .net maui) this is how I have the hitboxes and players set up (the Frames will get added into…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
631 questions
asked 2023-01-26T10:32:06.7033333+00:00
Mielesplayz 281 Reputation points
accepted 2023-01-30T07:53:20.1566667+00:00
Mielesplayz 281 Reputation points
0 answers

Attempting to create a slider that monitors / changes the position of a video.

I am wondering just how I can accomplish the above. I have an event which gets called as the video plays and provides the position of the video being played. I can bind the Ticks of the postion to the slider with no problem. The problem is that when…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-29T15:25:08.23+00:00
Lloyd Sheen 781 Reputation points
commented 2023-01-30T07:26:25.8266667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,661 Reputation points Microsoft Employee
0 answers

Display mauiasset PDF in webview ERR_ACCESS_DENIED.

I have a VS2022 dotnet prog which runs on IOS and Android Simple requirement - Open mauiAsset pdf file and display it in webview. 1 page no manipulation simple Now I know Webview CAN display PDF - I can load it with a pdf on a webserver. How do I open…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-29T11:28:28.2+00:00
john murray 1 Reputation point
commented 2023-01-30T07:16:40.31+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,661 Reputation points Microsoft Employee
1 answer

using FileSystem.OpenAppPackageFileAsyn to open and play mp3 files stored on Google Drive

Hi I am using VS 2022 and C# to develop a MAUI App which needs to be deployed for IOS/Android and Windows. I would like to play audio files that are stored on Google Drive using audioPlayer. Can I use FileSystem.OpenAppPackageFileAsyn to open the file,…

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.
7,001 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-22T22:11:13.7033333+00:00
Riffy 226 Reputation points
commented 2023-01-30T05:30:46.5266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,461 Reputation points Microsoft Employee
0 answers

Why does MAUI iOS not build with scaling factors in the project file?

Since the last upgrade of VS, the MAUI iOS project can't build if the second group of splash image scaling factors are present, e.g. ""Resources\Splash$placeholder$.scale-xxx", in the project file. VS version and extensions in use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,441 questions
asked 2023-01-22T17:01:02.1966667+00:00
Marc George 61 Reputation points
commented 2023-01-30T01:48:21.52+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,461 Reputation points Microsoft Employee
2 answers

MAUI - All Apps crashing when running on IOS Emulators

Hi All my Apps are suddenly crashing when I run them on IOS emulators with the following errors: and output: [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2023-01-09T22:08:23.247+00:00
Riffy 226 Reputation points
commented 2023-01-30T00:55:55.4133333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
1 answer

Intermittent error - microsoft.net.workload.mono.toolchain error when running 'dotnet workload install maui' command in DevOps

Getting intermittent errors when running the dotnet workload install maui command via DevOps. Was stable until .Net SDK and/or microsoft.net.workload.mono.toolchain was updated on the DevOps agents. See log excerpts below, issue seems to be that…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2022-10-16T13:04:40.83+00:00
coenraad 1 Reputation point
answered 2023-01-30T00:37:54.7766667+00:00
Anonymous
7 answers

Why are padding and margin not showing in properties tab of VS 2022

In keeping with the poor QA of VS now the properties window when selecting an XAML element no longer shows the padding or magins. If I were to publish the full list of problems I see in VS 2022 I would not get anything done. Check out the image to see…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,441 questions
asked 2023-01-29T15:20:15.2933333+00:00
Lloyd Sheen 781 Reputation points
answered 2023-01-29T18:51:56.8766667+00:00
Lloyd Sheen 781 Reputation points
1 answer

How to obtain the notifications' deviceToken in MAUI iOS in C#?

In executing the following, how do I get the deviceToken? public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { NSData deviceToken; // Version check if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
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.
152 questions
asked 2023-01-28T18:54:43.4433333+00:00
Marc George 61 Reputation points
answered 2023-01-29T16:19:14.8266667+00:00
Marc George 61 Reputation points
1 answer

Deployment error DEP1700

I am receiving this error when I try and debug my UWP app. DEP1700: The recipe file "C:\Users\xxxxxxxx\bin\Debug\net6.0-windows10.0.19041.0\xxxxxx.build.appxrecipe" does not exist. You may need to build your project. This is a MAUI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 questions
asked 2022-06-10T20:21:26.163+00:00
Willie 21 Reputation points
answered 2023-01-29T14:29:01.08+00:00
DotNetMAUI Learner 0 Reputation points
2 answers One of the answers was accepted by the question author.

Logout (delete Auth-Cookie) only possible via form!

I have a Blazor server application (see my post here: https://learn.microsoft.com/en-us/answers/questions/1164837/aspnet-authentication-works-but-value-for-user-ide). Now I have implemented a cookie authentication. This works very well via a login and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
902 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.
7,001 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,585 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
795 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
610 questions
asked 2023-01-28T13:26:22.5033333+00:00
perfect code 161 Reputation points
commented 2023-01-28T17:41:48.8333333+00:00
perfect code 161 Reputation points