16,453 questions with .NET-related tags

Sort by: Updated
0 answers

Onidiom vs on Platform

Hi, What are the diffrences beween OnIdiom or OnPlatform ? Can you give sample how you yiu use each one? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-21T09:20:57.0466667+00:00
Dani_S 4,271 Reputation points
0 answers

WARNING MVVMTK0045

Both with net8.0 and net9.0, at times I have a warning MVVMTK0045. Following the instructions in the relevant documentation https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/generators/errors/mvvmtk0045 does not clear the issue - on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-21T09:15:06.2+00:00
Giorgio Sfiligoi 346 Reputation points
1 answer

Microsoft .NET Host -8.0.13 (x64) Popup

I keep getting a random popup with the header Microsoft .NET Host - 8.0.13 (x64) stating "The feature you are trying to use is on a network resource that is unavailable." It further states "Click OK to try again, or enter an alternative…

.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,199 questions
asked 2025-03-02T14:53:00.7466667+00:00
Steve Bailey 0 Reputation points
commented 2025-03-21T06:42:40.47+00:00
Jiachen Li-MSFT 33,951 Reputation points Microsoft External Staff
0 answers

How to fix: Exception thrown: 'System.Runtime.InteropServices.COMException' in WinRT.Runtime.dll The program has exited with code 3762504530 (0xe0434352).

I have a .NET MAUI app that I am completing on Visual Studio Professional 2022. I have cleaned, restored, and build the app with no errors. I configured the app to run on Windows. Just before launching, the app crashes with this error: Exception thrown:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-20T16:44:11.8433333+00:00
Waithley Williams 1 Reputation point
commented 2025-03-21T05:35:48.9466667+00:00
Senthil kumar 0 Reputation points
1 answer

How to connect Algolia whit MAUI

i want to connect Algolia to my aplication developed on MAUI but i don´t know why it doesn,t work. I worked using DeepSeek and ChatGPT but they codes Doesn´t work i don´t know what more can i do i used the Algolia NuGet for MAUI but isn´t work or i tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-19T17:46:27.2733333+00:00
Roberto Mendoza Dominguez 0 Reputation points
edited an answer 2025-03-21T05:26:14.1533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,011 Reputation points Microsoft External Staff
1 answer

Error loading font 'Assets/Fonts/Segoe UI.ttf'. on log

Hi, I have this error when running the MAUI as exe. I do not have this fonts on my app in RESOURCES/FONTS and not resister it. 2025-03-13 11:57:26,921 [1] ERROR Microsoft.Maui.FontManager - Error loading font 'Assets/Fonts/Segoe…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-13T10:01:37.4166667+00:00
Dani_S 4,271 Reputation points
commented 2025-03-21T02:43:12.6266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,611 Reputation points Microsoft External Staff
0 answers

App is crashing which swiping in carousel view in maui

I had implemented the carousel view in android, When im swipping app is getting crashed.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-19T10:07:20.5066667+00:00
Vaibhav Methuku 140 Reputation points
commented 2025-03-21T02:41:14.5733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,611 Reputation points Microsoft External Staff
1 answer

Blazor Hybrid Android/IOS Not Supported Picture-In-Picture(PIP)

Application: Messaging Application (Chat and Video Calls) using SignalR and WebRTC Framework: MAUI Blazor Hybrid Android OS: 15 - API 35 .Net Version: 9 Is Picture-In-Picture supported in BlazorWebView? You see i tried to implement a PIP that…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-20T09:14:06.2333333+00:00
Yam 0 Reputation points
answered 2025-03-21T02:39:04.25+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,611 Reputation points Microsoft External Staff
0 answers

Problem publishing .NET MAUI app to Google Play Store: Unpacking failed error

Hello, I have problem when I try publish my .NET Maui application to Google Play Store, I see this error message: Unpacking failed. Please download 'https://dl.google.com/firebase/ios/analytics/59128155f949f77d/GoogleAppMeasurement-8.9.1.tar.gz' and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
352 questions
asked 2025-02-08T05:43:38.59+00:00
Yusuf-3141 70 Reputation points
commented 2025-03-20T22:55:05.48+00:00
Yusuf-3141 70 Reputation points
2 answers One of the answers was accepted by the question author.

Unique ID of MAUI device

Hello IT gurus I need some unique identifier of MAUI device (platforms: iPhone/Windows/Android/Tizen/MacCatalyst...) like MAC address of device, whatever... I want answer on this question: Is it the first (self) app instalation on this device? Yes/No…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-02-20T10:00:22.5+00:00
Wheelstring 190 Reputation points
answered 2025-03-20T16:35:28.9766667+00:00
Wheelstring 190 Reputation points
1 answer

Open PDF in MAUI in separate window

Hi, I have MAUI app in .NET 9 platform Windows and MAC. I have PDF file I want user will open it by click on button in separate window? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-20T08:00:51.27+00:00
Dani_S 4,271 Reputation points
answered 2025-03-20T16:02:19.78+00:00
Bruce (SqlWork.com) 72,996 Reputation points
1 answer

Unable to debug on iOS device

Not entirely sure if this is a result of my upgrade to .net 8 or not but I am not been able to debug on my iOS device any longer. I see the app deploy and the splash screen comes up for 20 seconds then the debugger stops and the app on the phone closes.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2023-12-05T22:34:48.7433333+00:00
Daniel Manchester 25 Reputation points
commented 2025-03-20T15:31:22.0633333+00:00
sean 0 Reputation points
1 answer

Publish - Move to Framework Independent did not work

Hi, I have MAUI app in .NET 9. When making setup with installshield i first install dotnet runtime 9. and later include Maui app + WPF app + stand alone app- log decoder in one setup. The app call in runtime to WPF application using Process Info…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-17T11:05:45.7066667+00:00
Dani_S 4,271 Reputation points
commented 2025-03-20T09:17:50.1733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer

MAUI: Firebase Analytics iOS.

I'm trying to configure the Firebase in my library project, but when the sample project references the library project, I get an error when compiling. (Not when compiling the library, but the project.) I'm using Xamarin.Firebase.iOS.Analytic and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-19T09:33:15.8866667+00:00
NickNN 40 Reputation points
answered 2025-03-20T07:43:21.54+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
0 answers

.NET MAUI error after binding android library (.aar)

I am using android library called "autoreplyprint.aar" , this library contains another.jar file called "jna-4.5.1.jar". I have used following code to bind it in my MAUI project, <ItemGroup…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-19T16:23:37.7166667+00:00
Nikhil Sathawara 0 Reputation points
commented 2025-03-20T07:04:21.6866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,011 Reputation points Microsoft External Staff
1 answer

pick appropriate .json data in Tab (ShellContext)

As a senior+ hobby developer I'm stuck. I know - whoever helps - this is not what this GitHub forum is for and, I know, this is an imposition! Anyway, hopefully somebody has some time and is willing to help, thank you. my APP:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-12T09:25:58.7233333+00:00
Eduard Kaufmann 291 Reputation points
answered 2025-03-20T05:44:52.1466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,611 Reputation points Microsoft External Staff
6 answers

failed with HTTP status code 'Unauthorized'.

Hi, Why I suddenly started getting this error: /Users/jassim/Projects/OneID/One ID API/Controllers/Account.cs(116,9,116,15): warning CS0162: Unreachable code…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,499 questions
asked 2023-05-14T19:52:08.6466667+00:00
Jassim Al Rahma 1,596 Reputation points
commented 2025-03-19T15:27:12.8766667+00:00
Diego Fernandez-Bravo 0 Reputation points
0 answers

Is there a sample MAUI application to call c/c++ libraries that can be built from Windows and used on Windows, iOS and Android?

I am trying to convert my Xamarin.Forms mobile applications to MAUI. My applications depend on C libraries developed by government agencies (NOAA and USNO). For Xamarin.Forms I found a very good example for building a NuGet package from C library code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-02-21T16:50:34.97+00:00
Brian Johnson 0 Reputation points
commented 2025-03-19T14:43:31.41+00:00
Brian Johnson 0 Reputation points
1 answer

"Missing Info.plist value. The Info.plist key 'BGTaskSchedulerPermittedIdentifiers' must contain a list of identifiers used to submit and handle tasks when 'UIBackgroundModes' has a value of 'processing'

I am trying to upload my maui ios app on transporter and getting this error: what i have tried so far is <key>BGTaskSchedulerPermittedIdentifiers</key> <array> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-19T06:04:54.2266667+00:00
Aayush Rawat 0 Reputation points
answered 2025-03-19T08:14:51.28+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

MAUI: How to update the webview height after loading new content

I want to implement the below UI in my MAUI application (header and footer sections are not added): Below is my code (header and footer sections are not added): Webview to show HTML content(with a background image), Audio frame with previous, play and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,023 questions
asked 2025-03-16T09:44:59.9266667+00:00
Sreejith Sreenivasan 1,001 Reputation points
accepted 2025-03-19T06:33:01.99+00:00
Sreejith Sreenivasan 1,001 Reputation points