5,375 questions with Xamarin tags

Sort by: Updated
4 answers

Receiving chat messages with SignalR

I tested the SignalR solution in Xamarin Forms and .net core backend and it works great: https://montemagno.com/real-time-communication-for-mobile-with-signalr/ However, I am wondering how to keep receiving the messages when the app is in background…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
777 questions
asked 2021-01-23T01:29:59.907+00:00
Stesvis 1,041 Reputation points
edited an answer 2025-01-30T16:46:11.3633333+00:00
Bruce (SqlWork.com) 70,376 Reputation points
0 answers

using Admob on MAUI .NET9

Hello, Until now, I have been developing in Xamarin and have been able to use AdMob without any issues officially because Microsoft published the binding libraries packages through NuGet: For…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,082 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 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.
11,260 questions
asked 2025-01-29T11:55:47.0333333+00:00
OMendoza 0 Reputation points
commented 2025-01-30T05:29:53.1033333+00:00
OMendoza 0 Reputation points
0 answers

Xamarin Projects not loading after upgrading VS 2022 to version 17.12.4

After upgrading VS 2022 to version 17.12.4, I noticed that multiple of my existing Xamarin Forms projects are not loading and VS gets stuck at "Loading project 0 of 3". .NET MAUI Projects loading normally.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,397 questions
asked 2025-01-29T10:08:31.1466667+00:00
Bilal Harb 0 Reputation points
commented 2025-01-30T02:59:49.4566667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 79,156 Reputation points Microsoft Vendor
1 answer

Transition from Visual Studio App Center to Application Insights in .NET Android/iOS Projects

We are currently using Visual Studio App Center for telemetry and analytics in our .NET for Android and .NET for iOS (native) projects. The analytics data from App Center is automatically dumped into Application Insights via a configured key. We're…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,082 questions
asked 2025-01-28T15:55:01.68+00:00
Kirankumar Bharsadiya 60 Reputation points
answered 2025-01-29T00:39:13.87+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,926 Reputation points Microsoft Vendor
3 answers

How To Print QRCode in Thermal Printer

Hi, can anyone help me with this situation? I'm in need of help printing a QR code using Xamarin.Forms (iOS and Android) (I just need the Android version). I have an Thermal Printer, and im already printing text through the BluetoothSocket, and i can…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 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.
11,260 questions
asked 2021-11-02T15:22:24.02+00:00
kelputoo 1 Reputation point
edited the question 2025-01-27T09:13:49.28+00:00
TP 102.2K Reputation points
0 answers

Error while using stripe android sdk native interopt

I am trying to bind stripe sdk of android in .net maui. I try template and it works fine. But, when i try it, it is binding and when i call , it gets me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,082 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
asked 2025-01-21T20:34:23.2733333+00:00
Haider Ali Faizi 100 Reputation points
edited a comment 2025-01-25T18:26:11.1533333+00:00
Haider Ali Faizi 100 Reputation points
0 answers

Xamarin.uwp- getting run time error - System.Reflection.MissingMetadataException: ''Xamarin.Forms.Platform.UWP.WindowsPlatformServices' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859'

Xamarin.uwp- getting run time error - System.Reflection.MissingMetadataException: ''Xamarin.Forms.Platform.UWP.WindowsPlatformServices' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859' Tried multiple…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
asked 2025-01-16T12:03:26.72+00:00
APM Rounds 21 Reputation points
commented 2025-01-23T07:16:07.1566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,031 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MSAL Android Xamarin Stuck Dialog - "Are you trying to sign in to {your_appname}"?

We are using MSAL through Azure Portal in single tenant mode. This dialog comes up and pressing the buttons gives nothing. Pressing "continue" does nothing and no output comes to the debugger Pressing "cancel" does nothing…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,066 questions
asked 2021-09-29T17:42:53.127+00:00
joel schaubert 101 Reputation points
commented 2025-01-21T08:57:39.4266667+00:00
Vassis, Manolis 0 Reputation points
1 answer

Xamarin support for Android API 34 (14)

Hi I have a project and trying to update to API 34 with no luck even I create a blank project (Start new project with basic hello world template) also giving me the same error. Here is the error The TargetFrameworkVersion (Android API level 33) is lower…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
asked 2024-10-28T11:21:17.2066667+00:00
Yohanes AI 0 Reputation points
commented 2025-01-19T06:07:49.4333333+00:00
Knox Cameron 0 Reputation points
0 answers

Has anyone successfully built xamarin ios project on AzureDevOps using multi targeting libraries with TargetFrameworks netstandard2.1 & net8.0

We migrated our Xamarin.Forms project to .NET MAUI (.net 8.0). We are still supporting our Xamarin.Forms project. The common organization level libraries now target multiple frameworks netstandard2.1;net8.0. .NET MAUI pipelines are working good. xamarin…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,082 questions
asked 2025-01-16T23:58:22.54+00:00
Vinayak Nikam 71 Reputation points
commented 2025-01-17T01:33:09.41+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,926 Reputation points Microsoft Vendor
3 answers

Cannot Pair To Mac Outside Local network

I'm trying to set up a mac mini in a remote location so that I can pair to mac in Visual Studio 2022. Everything works fine when I'm in that location and on the local network, but when I leave and try to connect via an ip address, I get a "Couldn't…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
asked 2023-04-18T21:53:31.5166667+00:00
Eddie Hartman 0 Reputation points
commented 2025-01-14T12:33:59.0833333+00:00
Mike Moorfield 1 Reputation point
0 answers

.NET MAUI Migration from Xamarin.forms

Hi, as a result of migrating from xamarin to .NET MAUI, using the migration tool “Upgrade Assistant” provided by microsoft, I have resolved the various errors related to solution compilation. The code compiles correctly and even manages to emulate on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,082 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
asked 2025-01-09T16:13:59.0733333+00:00
Mattia Pisilli 0 Reputation points
commented 2025-01-13T07:42:57.4833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,926 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Emulator not running. Could not get emulator name after starting AVD

I recently installed windows 11 and android emulator stopped working. I recently installed windows 11 and android emulator stopped working. This is the errorstrong text my configuration is I have tried different combinations…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
asked 2022-01-28T03:05:31.787+00:00
Erick 26 Reputation points
commented 2025-01-07T00:09:39.19+00:00
Christian sopkam 0 Reputation points
1 answer

Maui project - Microsoft.AspNetCore.Aoo didnt work with the APP

1-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'iossimulator-x64'. 2-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'maccatalyst-x64'.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,082 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,767 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
369 questions
asked 2024-12-20T19:56:57.6366667+00:00
Maher Elmecery 0 Reputation points
edited the question 2025-01-02T02:39:47.6+00:00
Tianyu Sun-MSFT 32,531 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Impact of Upgrading to Xcode 16 on Xamarin Forms Code Compatibility

Hi, I am in the middle of migrating the Xamarin Forms code to MAUI, but we still need to release production bug fixes with Xamarin Forms. I am currently using macOS 14.3.1 and need to upgrade to macOS 15.2 to get Xcode 16, as I am receiving an error…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
asked 2024-12-20T07:08:45.64+00:00
Chinmay Dole 200 Reputation points
accepted 2024-12-25T04:49:13.5633333+00:00
Chinmay Dole 200 Reputation points
1 answer

DateTime.Now returns UTC Time if we build Xamarin.Android app with azure pipeline.

Hi, Team, We have currently one project associated with Xamarin.Android. DateTime.Now returns UTC Time instead of returning local time only when we build Xamarin.Android app with azure pipeline. It is working fine if we create build using visual…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
asked 2023-09-13T12:56:12.17+00:00
Shingala A 30 Reputation points
commented 2024-12-22T02:17:06.92+00:00
Alex Moir 0 Reputation points
6 answers

Apple Developer Account: Individual - error 'There was an error while trying to log in: Provide a properly configured and signed bearer token, and make sure that it has not expired learn more about generating tokens for API requests'

I have an issue when trying to sign in with my apple developer account on visual studio 2022 (v17.4.1). Firstly, I when trying to sign in as an 'individual account' I get this error ‘there was an error while loading your certificates: The Apple Developer…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,397 questions
asked 2022-11-22T08:48:18.217+00:00
Brian Kekana 31 Reputation points
commented 2024-12-20T11:35:41.25+00:00
AL-Hasan Hasan Y. AL-Mazhine 0 Reputation points
3 answers

Cannot create an IOS archive... Process cannot be executed on XMA server. There was an error unzipping the file... The specified path, file name, or both are too long.

I am working on an update to a Xamarin.Forms app In Visual Studio Community 2022 on a Windows 11 Pro machine. I receive the following error when I try to archive the iOS project for distribution: Cannot create an IOS archive 'XXXXXXXX.iOS'. Process…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
asked 2022-04-15T03:17:54.517+00:00
answered 2024-12-16T06:46:54.0566667+00:00
Js Hsieh 0 Reputation points
1 answer

Using an iOS storyboard and viewcontroller in Maui

I am in the process of porting my xamarin.ios project to maui. Unfortuanately I have a storyboard and viewcontroller I cannot replicate in maui. (Dropbox) Is there a way I can use that part in my maui project? I copied the files to Platforms/iOS but not…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
asked 2024-09-08T05:12:48.15+00:00
Phunction 301 Reputation points
commented 2024-12-13T17:11:02.8166667+00:00
Phunction 301 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin Forms Schedule notifications

Hello everyone, I am new to Xamarin forms, I need to add to my app a functionality so that the user can schedule reminders. For example: Send a notification every Monday and Friday at 5 pm. I have tried to use Local notifications with this library…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
asked 2021-06-04T08:43:19.08+00:00
Gabriele Conti 21 Reputation points
commented 2024-12-12T15:47:07.64+00:00
Nick Kovalsky 0 Reputation points