I am using xamarin forms in visual studio and whenever I start my project, it builds but doesn't actually run. It doesn't even run the android emulator.
Related
I installed latest version of Visual Studio 2022 (17.0.2).
Created a brand new Xamarin.Forms project.
Wanted to test AppCenter Analytics and Crashes.
Added following line of code in OnStart event of App.Xaml.cs
AppCenter.Start("android={android key};" +
"ios={iOS key}",
typeof(Analytics), typeof(Crashes));
Installed Microsoft.AppCenter.Analytics and Microsoft.AppCenter.Crashes nuget packages in all three (shared, android, iOS) projects.
Works fine in Android..
Crashes on this line in iOS. I am trying to debug in iPhone physical device using hot restart. When I remove the above line it works just fine.
I tried this on multiple computers but no luck.
Thanks
I used to distribute an iOS Xamarin Form Application on testflight.
I had to update my Windows Visual Studio to v16.11.6
Since this new version, the app il not working fine on iOS: all custom fonts are not loaded when the app is opened from testflight
But the problem is not there when using the simulator or deploying the app from visual studio on my iPhone
Could you help me
I am tryng to create/open a xamarin forms project (portable)...But I always see this message and the pcl is not created, only android and ios is created...
I am using Visual Studio 2017
And I've just installed xamarin in this.
I am using Xamarin with Visual Studio 2015.
My project is on Team Foundation Server, I updated Android API level 25.0 NuGet for using Google Firebase messaging.
Now when I load the project in Visual Studio 2015 and change debug to release mode, Visual Studio freezes and hangs.
When I remove API level and Firebase messaging DLL then it works smoothly. What should I do?
I've recently started to learn how to use Prism on Xamarin Forms, and I was seeing both Xamarin Studio and Visual Studio.
I created a project in Visual Studio and Xamarin Studio and noticed that in the Visual Studio Template Pack the same UnityApp Project differ with the Xamarin Studio version. In Visual Studio the App class constructor has a parameter of type IPlatformInitializer while the Xamarin Studio version does not.
I will like to know what is the difference between them and when to use each one ?
The Xamarin Studio Templates have not been updated because my Mac went down :)
You only need to use the IPlatformInitilizer if you want to register platform specific services. It's not required.