5,381 questions with Developer technologies | .NET | Xamarin tags
Xamarin.iOS: Failed to generate Ad-Hoc | Release Build from Migrated Project (Microsoft.NET.Sdk)
Hello, Error: Configuration doesn't target device Tools: Visual Studio 2022 (Version 17.6.14) According to the process of upgrade project from Xamarin to .Net sdk style, we have migrated Xamarin.iOS (native) project into sdk style project…
Developer technologies | .NET | Xamarin
Changing the color of a single color drawable png
I have a Xamarin.Android project with several single color (black & transparent) png's in my Drawable folder. I want to be able to dynamically make these images different colors by specifying a System.Drawing.Color or Android.Graphics.Color. To put…
Developer technologies | .NET | Xamarin
Developer technologies | .NET | Other
Developer technologies | C#
NullReferenceException when building Xamarin Android Binding Library
I've been trying to build a Xamarin Android Binding Library having a .jar file in it. It builds just as expected with different .jar-s I tried, however when I add jackson-databind library, I keep receiving BINDINGSGENERATOR : error BG0000:…
Developer technologies | .NET | Xamarin
Xamarin.Forms 5.0.0.8532 not available in https://www.nuget.org/packages/Xamarin.Forms
Currently on the official nuget package page (https://nuget.org/packages/Xamarin.Forms ) you can only download Xamarin.Forms up to version 5.0.0.2662, but within Visual Studio my project has version 5.0.0.8532+0-pr.15765-sha.fb33d7158-azdo.88278, why is…
Developer technologies | .NET | Xamarin

Mobile SSO doesn't work on iOS (Specially for iPhone11 ) when using Microsoft Authenticator App for MFA
I incorporated Microsoft.Identity.Client API for user authentication. The user provided their credentials and received a one-time OTP. The user then interacted with the Authenticator app by tapping on notifications. After tapping the notification, they…
Developer technologies | .NET | Xamarin
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Authenticator
Xamarin MSAL Azure AD ADFS AcquireTokenInteractive error
Hi I just seen this error in our app , ERROR Web page not Available The web page at https://adfs.srm.com/adfs/ls/wia?client-request-id=########## Could not be loaded because : net::ERR_HTTP_RESPONSE_CODE_FAILURE Normally the user enter their email…
Developer technologies | .NET | Xamarin
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Authenticator
How to Deploy Xamarin 4.8 Apps to Simulator with VS Code on Mac After Migration?
Hi everyone, With Visual Studio for Mac being dropped, I’ve migrated to using VS Code for Mac and am using Meteor as a simulator for my Xamarin 4.8 app development. I’m trying to deploy a Xamarin 4.8 application to the simulator, but I’ve encountered an…
Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Debugging
Migrating from MasterDetail to Flyout, and how to make a common page view?
Yes, I am aware there are two questions to this, perhaps a third in asking if I even need to worry about migrating from MasterDetail at all. I've been going over my code, migrating some API's and so on. One issue I have been finding is that…
Developer technologies | .NET | Xamarin
Install Android API 34
I am looking to update one of our Xamarin Form mobile apps, but not move to MAUI. I am looking for a quicker update and deployment before moving this app to MAUI. My question is, can I update Visual Studio 19 (I am not upgrading this) so that Android API…
Developer technologies | .NET | Xamarin
How to turn-on SpeakerPhone for incoming call in Xamarin.Forms Android 13
I used this posting https://learn.microsoft.com/en-us/answers/questions/1049896/how-to-turn-on-speakerphone-during-a-call-in-xamar.html I integrated it into my PhoneCallListener BroadcastReceiver to turn-on the SpeakerPhone on Android13…
Developer technologies | .NET | Xamarin
How to turn-on SpeakerPhone during a call in Xamarin.Forms Android 13
I have Telephony Xamarin.Forms App that is able to turn-on speaker phone in Android 11 and earlier using AudioManager audioManager = (AudioManager)Android.App.Application.Context.GetSystemService(Context.AudioService); …
Developer technologies | .NET | Xamarin
Delayed Update of Navbar Title and TabBar Background Color in .NET MAUI on Android When Switching Tabs
I'm working on a Xamarin Forms migration to .NET MAUI project where I'm encountering an issue with delayed updates to the Navbar title and Navbar background color when switching tabs on an Android device. its working as expected in the Xamarin Forms I…
Developer technologies | .NET | Xamarin
Developer technologies | .NET | .NET MAUI
Developer technologies | C#
Xamarin ios Library not loaded MDFInternationalization
I am trying to distribute an application for iOS, but during the Apple review process they report the following exception: {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":…
Developer technologies | .NET | Xamarin
Impossible to register android device in Azure Notification Hub
0 I am trying to update my platform (mobile app in xamarin forms and backend in .net7) to set notifications on android devices via the google Fcmv1 system. Unfortunately I can't register the device on my Azure Notification Hub. I tried the various codes…
Azure Notification Hubs
Developer technologies | .NET | Xamarin

xmlns:pages="clr-namespace:Xamarin.CommunityToolkit.Sample.Pages" Is not getting Identified
I am training on the Xamarin CommunityToolKit but i faced an issue that the compiler is throwing an error as reference is not found i have updated to the Xamarin ComminityTookKit latest version. But the issue is still…
Developer technologies | .NET | Xamarin
App Crashes And Restarts after Taking pictures in Android Mobile
I am using Webview Technology in Xamarin forms .After Taking Image in My Android App it crashes and restarts means it Loading Source Url Again it Happens in some Devices Like Samsung and Oppo their Android version is 12 , 13, 14.
Developer technologies | .NET | Xamarin
Suddenly encountering issue with "An assembly with the same simple name has already been imported" error for our Xamarin iOS builds
Having updated all of our VS2019 installs and the Xamarin iOS SDKs. When we build our iOS project we now receive a lot of errors pointing to "An assembly with the same simple name has already been imported" however upon looking at all of our…
Developer technologies | .NET | Xamarin
Xamarin forms - debugger-agent: Unable to connect
Hello all, I am trying to make test Xamarin app on android simulator. At first it was working OK, but since my app would be working also in offline mode I decided to test it on simulator without internet connection. On simulator I disabled internet and…
Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Debugging
Xamarin iOS unable to debug over local device iOS 17.1.1
I have two real devices: iPhone 15 Pro Max iOS 17.1.1 iPhone 7 iOS 15.7.8 I'm trying to debug my Xamarin application over a real device. Using my iPhone 7 works as expected. But it has been impossible for me to do the same using my iPhone 15 Pro…
Developer technologies | .NET | Xamarin
How to change text color in SwitchCell?
I am using a Xamarin.Forms.SwitchCell with TableVIew on an Android application 's settings page. I decided to use black background for my entire app, but get stuck with setting text color on SwitchCell. I've searched for solution and begin to create…