Content
Failed to resolve assembly OpenTK version 3.1.0.0.0
Hi all of a sudden getting this odd error when running a Xamarin app project.iOS/MTOUCH: Error MT2002: Failed to resolve assembly: 'OpenTK, Version=3.1.0.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4' (MT2002) Any ideas what this is or how to…
p8 certificate for remote messaging (azure notifications hub) problems?
Running into an problems setting up remote messaging: We have followed this guide: https://learn.microsoft.com/en-us/azure/notification-hubs/xamarin-notification-hubs-ios-push-notification-apns-get-started which includes setting up a .p8 certificates on…

Xamarin iOS - programmatically trusting CA (certificate authority)
Good afternoon. Could you help with the following problem? I need to connect a third-party certificate, for example "test.cer" for WebView to work correctly. In Android, I solved the problem as follows: 1. Added the certificate file to…
Button command is not working with Binding context in xamarin forms using MVVM
If we give BindingContext value for button , then button command is not hitting on click event in xamarin forms with MVVM architecture. From the below code snippet I have given BindingContext value as 1. So, when I click on Button the command is not…
Getting issue while running the Xamarin profiler on solution.. it's always say your runtime device is too old, deploy your app again with newer version.
Here is log info.......... XamarinProfiler.Core.Profiler Information: 0 : [2023-09-06 15:15:33.4542] ########################################## XamarinProfiler.Core.Profiler Information: 0 : [2023-09-06 15:15:33.4552] # Xamarin Profiler version - …
Xamarin CarPlay InformationTemplate Custom Back Button Handle Problem
Our xamarin forms project supported CarPlay and has a information template. I want to use custom back button on information template but handle function not working. Back button create function codes: private CPBarButton GetBackButton() …
Xamarin Forms Push notifications on Chinese ROMS
I have a Xamarin Forms app with push notifications serviced through Azure Notification Hubs and FCM. All working fine on all states - foreground and background. Most devices work OK with the app killed as well - however, on Oppo and TCL devices the…
Java.Lang.Object in Custom ItemViewAdapter for Android lost event handlers when item count is a little big
I created two Adapter classes inheriting from BaseAdapter, which attempt to eliminate some unnecessary coupling: SharedItemViewAdapter<TData>: GetView method uses classic form to share views across multiple items; …
macos workload on Visual Studio 2022 showing as "Out of Support"
I am working to create a Mac App in Visual Studio for Mac using the "macos" workload, which is the successor to the Xamarin platform (as I understand). However, when I build the application, I receive a warning indicating that this workload is…
Xamarin carplay supported ios app crashes when starting
Our app crashes as soon as it is launched after carplay integration. if i install directly (from ipa) it works. But if I install from testflight it crashes. If you remove …
Categorizing fruits and vegetables.
I just need some basic guidance then I can work it out. I am creating an app that allows the user to select fruits and vegetables then it list's the fruit and vegetable quantities on a List content page. I can get the fruit and vegetable to display on…
iOS app suddenly kicking out can not encode offset
Hi, I have a VS 2019 project for iOS with Xamarin. It was working fine in June, I have my SKD version set for 10.2 and supported architectures set to ARMv7 + ARM64. Today I loaded up my project as I wanted to check something but when I go to build I now…
How to create subdirectories ?
For Xamarin.Android application, how can I configure to create subdirectories, or even subdirectories, in these directories(such as Resources\layout, Resources\values, Resources\drawable, and so on) so that I can sort out programs that have multiple…
FilePicker.PickAsync(PickOptions.Default) does always fail, how to fix it?
using Xamarin.Essentials; already: <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> When I try this: …
How to prevent to navigate to the previous page
Hello In android app xamarin In my app i have 2 activities. Is there a possibility to prevent the user to navigate to the previous activity (the last page). when i click the > on the bottom toolbar i navigate to the last page so i would like…
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 android 13, Popup permission notification and Popup
Hi developer, Can i call this function for check permission and request permission popup in other file cs ? At the moment only can call this function in mainactivity.cs? if ((int)Build.VERSION.SdkInt < 33) { return; …
Label isn't Centered Correctly in Grids Bottom Row
I'm using a grid to display a user's character progression but for some reason, my label on the bottom Row isn't being centered correctly. Regardless of the Font Size, "lblLevel" is being centered out of the grid rows bounds. On iOS, the…

Xamarin forms to MAUI migration issues
I have tried to migrate my Xamarin Forms app to MAUI using .NET 7 using the upgrade assistant extension in visual studio. First I migrated the solution, then android and finally the iOS projects. (Is this workflow correct?) After that I have deleted the…
FilePicker.PickAsync Xamarin essentials API not working for Android 13
FilePicker working fine for below android 13, but getting permission exception for android 13. Xamarin.Essentials.PermissionException: StorageRead permission was not granted: Denied at Xamarin.Essentials.Permissions.EnsureGrantedAsync[TPermission] ()…