5,381 questions with Developer technologies | .NET | Xamarin tags

Sort by: Updated
1 answer

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
asked 2024-09-07T11:35:21.08+00:00
Matrix ComSec 5 Reputation points
commented 2024-09-24T07:43:52.3866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
1 answer

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#
asked 2024-09-22T19:48:38.7466667+00:00
Nathan Sokalski 4,111 Reputation points
answered 2024-09-23T02:00:17.4533333+00:00
Anonymous
0 answers

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
asked 2021-10-07T14:07:06.057+00:00
Vladislav 1 Reputation point
commented 2024-09-18T12:04:14.61+00:00
Lewis Spencer 0 Reputation points
0 answers

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
asked 2024-09-17T13:33:34.74+00:00
David Donayo 0 Reputation points
commented 2024-09-18T07:42:17.1366667+00:00
Anonymous
0 answers

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
asked 2023-10-05T10:28:11.71+00:00
Malviya, Mridul Kumar 0 Reputation points
edited the question 2024-09-17T19:05:08.9833333+00:00
VarunTha 14,850 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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
asked 2023-09-18T17:06:38.9333333+00:00
hernandoZ 46 Reputation points
answered 2024-09-13T21:30:21.5766667+00:00
Nem W. Schlecht 0 Reputation points
1 answer

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
asked 2024-09-04T13:20:17.9666667+00:00
Lefteris Michailidis 0 Reputation points
edited an answer 2024-09-05T19:57:11.8+00:00
Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

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
asked 2021-09-08T06:35:43.23+00:00
Jesse Knott 691 Reputation points
commented 2024-09-05T16:57:31.96+00:00
hrushikesh bhide 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2024-08-29T23:27:27.34+00:00
Henry Egal 20 Reputation points
commented 2024-09-03T13:40:02.5833333+00:00
Henry Egal 20 Reputation points
0 answers

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
asked 2022-10-18T17:44:34.07+00:00
Universal Camera 276 Reputation points
commented 2024-09-02T14:05:25.65+00:00
Peace Man 1 Reputation point
1 answer One of the answers was accepted by the question author.

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
asked 2022-10-16T20:21:46.933+00:00
Universal Camera 276 Reputation points
commented 2024-09-02T13:34:38.49+00:00
Vovan B 0 Reputation points
1 answer One of the answers was accepted by the question author.

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#
asked 2024-08-29T12:54:33.38+00:00
Omkar Pawar 255 Reputation points
commented 2024-09-02T04:25:26.6866667+00:00
Omkar Pawar 255 Reputation points
1 answer

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
asked 2024-07-26T23:52:48.2566667+00:00
Francisco Castrejón 0 Reputation points
commented 2024-08-28T04:09:16.5933333+00:00
Farhadb 0 Reputation points
0 answers

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
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
384 questions
Developer technologies | .NET | Xamarin
asked 2024-08-25T07:08:18.92+00:00
MCApp 21 Reputation points
commented 2024-08-27T03:23:24.0466667+00:00
brtrach-MSFT 17,741 Reputation points Microsoft Employee Moderator
0 answers

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
asked 2024-08-24T18:09:31.0266667+00:00
Sunil Gv 0 Reputation points
commented 2024-08-26T01:27:26.92+00:00
Anonymous
0 answers

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
asked 2024-08-09T13:40:31.7866667+00:00
Developer 0 Reputation points
commented 2024-08-13T02:32:43.2733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

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
asked 2021-10-13T23:15:36.887+00:00
WP (Smokeball) 146 Reputation points
commented 2024-08-10T06:58:36.32+00:00
Frf Hj 0 Reputation points
2 answers One of the answers was accepted by the question author.

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
asked 2021-05-04T19:10:57.33+00:00
Bumbar14 56 Reputation points
accepted 2024-08-09T12:43:52.9166667+00:00
Bumbar14 56 Reputation points
1 answer

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
asked 2024-04-11T07:21:13.1733333+00:00
Alex 0 Reputation points
commented 2024-08-06T14:46:53.1766667+00:00
João Lucas Yamin 0 Reputation points
2 answers One of the answers was accepted by the question author.

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…

Developer technologies | .NET | Xamarin
asked 2021-08-07T11:20:06.907+00:00
Деян Цонев 21 Reputation points
commented 2024-07-31T14:28:08.8166667+00:00
Thomas 0 Reputation points