5,315 questions with Xamarin tags

Sort by: Updated
0 answers

MAUI build errors : Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute

Hi Team, I am getting some strange build errors while I am rebuilidng the .NET MAUI mobile app solution. It worked fine till yesterday. All of sudden I am getting some strange errors now. I deleted .obj & bin folders and restrtaing visual studio…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,540 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,073 questions
asked 2024-05-30T07:17:55.4066667+00:00
KallemSandeep-8232 36 Reputation points
commented 2024-05-31T03:10:16.0433333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,061 Reputation points Microsoft Vendor
0 answers

sourcelink switch is only supported when emitting PDB

When I am trying to build Xamarin.Android project in Azure Devops Pipeline, I am getting below errors sourcelink switch is only supported when emitting PDB embed switch is only supported when emitting a PDB Can anyone please help me to solve this

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 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.
10,517 questions
asked 2024-05-30T10:55:57.1433333+00:00
Sk 61 Reputation points
commented 2024-05-31T03:04:18.7833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,061 Reputation points Microsoft Vendor
1 answer

System.Security.Cryptography.ECDsa.Create (System.Security.Cryptography.ECParameters parameters exception

We have integrated SSH.Net 2024.0.0 from Nuget for Xamarin UWP, Xamarin. IOS and Mono Android. UWP works fine. BUT iOS and Android are throwing exceptions. Any ideas or suggestions would be helpful. Visual Studio 2022 C# using (SftpClient sftp…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2024-05-20T07:15:52.04+00:00
Sk 61 Reputation points
commented 2024-05-31T02:07:34.3466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,911 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Xamarin Forms Target Version Android 14

Hi, I am working on the Migration of Xamarin Forms code to .NET MAUI. Till then, I tried to publish the Xamarin Form Android app with Android Target SDK version 14. I got the same issue as mentioned in the GitHub link:- …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2024-05-16T12:29:49.5333333+00:00
Chinmay Dole 100 Reputation points
accepted 2024-05-30T10:02:13.2966667+00:00
Chinmay Dole 100 Reputation points
0 answers

comment ajouter la liste des emulateurs dans VS22

j'ai un projet avec VS22 tout d'un coup je trouve pas la liste des emulateurs pour tester mon application qui est en xamarin (android)

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2024-05-27T16:14:33.3633333+00:00
noureddine hamla 0 Reputation points
edited a comment 2024-05-28T01:29:07.85+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,966 Reputation points Microsoft Vendor
0 answers

Xamarin.Auth (CustomTabsConfiguration) using of FLAG_IMMUTABLE for Android 12

Good day everyone, since Android 12 my App crashes during the auhtentication process. I see in the console the following error: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2022-12-03T12:13:16.647+00:00
Mattia Vicari 16 Reputation points
commented 2024-05-23T07:01:32.4266667+00:00
Igor Voshkulat 0 Reputation points
0 answers

How to fix typemaps.x86_64.ll Xamarin.Android.Common.targets(

Hi. When compiling a project to a virtual android device, an error occurs. It works fine on a physical device. I have used many virutal devices, Api 30-34, x86-64, nowhere works. I installed the Android SDK through Rider. Applications in Android Studio…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,540 questions
asked 2024-05-22T11:37:21.8733333+00:00
Rinat Sibogatov 0 Reputation points
commented 2024-05-23T02:48:25.86+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,061 Reputation points Microsoft Vendor
4 answers

XA0137: The 'run-as' command failed with 'run-as: couldn't stat /data/user/0/com.test.demo: No such file or directory '.

Hi all, My app not installing in release mode, Even I tried generating apk and installing but app is crashing every time. I'm getting following error Start debugging Android application failed Start debugging Android application ... am start -a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2021-09-17T16:33:28.817+00:00
Nagarjuna Gadikota 1 Reputation point
commented 2024-05-18T03:58:01.94+00:00
John van der Linden 0 Reputation points
2 answers

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2024-02-23T09:37:28.5833333+00:00
Vinayak Nikam 0 Reputation points
commented 2024-05-15T23:09:11.4166667+00:00
Ramiro F. Guasti 0 Reputation points
1 answer

When application is entered into background mode how we need to process the application to continue in Xamarin forms ios

How to handle when application entered into background mode in Xamarin forms ios? In my case when button click event is done. Before processing entire function the application entered into background mode. So ,how we can continue it in background mode in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2024-05-10T15:16:29.8033333+00:00
Sk 61 Reputation points
answered 2024-05-10T15:26:33.02+00:00
myannar-2d-tips 0 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin.Android: Opening an Excel document using Intents in Android 10+ fails

I have the following code for exporting an Excel file. The final result is opened in the Excel App. This is the code for opening the file: if (file.Exists()) Intent intent = new Intent(Intent.ActionView); if (Build.VERSION.SdkInt <…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2021-05-26T21:14:21.873+00:00
Federico Navarrete 616 Reputation points
edited a comment 2024-05-09T10:56:18.0166667+00:00
Federico Navarrete 616 Reputation points
0 answers

visual studio 2022 error mt1007 failed to launch application

I recently upgraded windows visual studio to 17.5.4 Windows Xamarin Forms to 5.0.0.2545 When I try to debug the Xamarin iOS application I get the following: error MT1007: Failed to launch the application…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
961 questions
asked 2023-04-18T19:51:51.3333333+00:00
Seth Isaacks 51 Reputation points
commented 2024-05-08T11:42:52.1466667+00:00
MartinMilan 0 Reputation points
1 answer

Visual Studio 2022 - Error loading Apple provisioning profiles

Hi! I'm developing my MAUI app and testing it on my iOS device via Visual Studio 2022 (Version 17.7.6). But suddenly I've lost my sync with my developer apple account. I've tried on other PC on the same network and It works properly, but on my device,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,783 questions
asked 2023-11-03T09:19:42.14+00:00
Aranda Simarro, Ivan 0 Reputation points
commented 2024-05-08T04:54:57.4166667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,911 Reputation points Microsoft Vendor
1 answer 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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,875 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,173 questions
asked 2023-09-18T17:06:38.9333333+00:00
hernandoZ 46 Reputation points
commented 2024-05-07T13:29:48.65+00:00
Raman, Udhayakumar 0 Reputation points
1 answer

AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once

I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,381 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.
10,517 questions
asked 2023-03-26T23:28:07.2466667+00:00
Nabil 6 Reputation points
edited a comment 2024-05-07T09:58:25.1033333+00:00
Horton 0 Reputation points
0 answers

How to know if Bluetooth connection is lost when application is running in Xamarin Forms. Any listener will hit?

How we can know if bluetooth connection is lost or turned off when we are running the application without any Button click event. App is connected to some ble devices . How to handle the scenario ? Any listener will hit or not? private void…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
778 questions
asked 2024-05-03T14:00:27.1533333+00:00
Sk 61 Reputation points
commented 2024-05-07T09:51:55.0966667+00:00
Sk 61 Reputation points
1 answer

ADB1000 solutions mono.androidtools.adbexception system.io.endofstreamexception

I've been working with C# for over a year now and been making applications with Winforms, Wpf, UWP (individually) and using Xamarin Mobile to make UWP, Android and IOS in the one applicaiton hence called Cross-Platform. Up till now everything has…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 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.
10,517 questions
asked 2022-03-14T23:27:35.567+00:00
Red stone 1 Reputation point
commented 2024-05-03T18:40:00.9233333+00:00
北行 叶 0 Reputation points
1 answer

Having issues deploying IOS project on iphone

Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.5.5 Xamrin 17.5.0.173 & Xamarin.IOS -16.2.0.5 Getting these errors : Severity Code Description Project File Line Suppression State Error /usr/bin/codesign exited with code…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2023-08-01T04:45:43.94+00:00
Shraddha Chauhan 10 Reputation points
commented 2024-05-03T01:03:41.7533333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,911 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Why does iOS Files not show an app's file folder?

I followed the instructions to configure Info.plist: The window "On My iPhone" of Files is still empty. The paths of files created by the app are like the following: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2021-04-07T00:46:25.797+00:00
Hong 1,206 Reputation points
commented 2024-04-30T12:31:30.2633333+00:00
Aravind RM 0 Reputation points
1 answer

Xamarin.ios integration with native ios sdk

Is it possible to integrate a native ios sdk (xcframework - swift) with xamarin.ios ?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2024-04-09T13:45:47.11+00:00
Luis Bernardo 0 Reputation points
edited a comment 2024-04-29T21:53:53.01+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee