Ben.Demystifier icon indicating copy to clipboard operation
Ben.Demystifier copied to clipboard

Does this works with Xamarin Forms?

Open luizhj opened this issue 4 years ago • 3 comments

Does this works with Xamarin Forms?

luizhj avatar Jan 24 '20 11:01 luizhj

yes it works with Xamarin.Forms.

MagicAndre1981 avatar Feb 15 '21 09:02 MagicAndre1981

Xamarin.Forms is a set of libraries so it isn't really dependant on it.

If you're targeting Android, yes. If you're targeting UWP, no.

bruno-garcia avatar Feb 17 '21 04:02 bruno-garcia

If you're targeting UWP, no.

with .NET native it is correct, here it fails, in debug mode (no .net native) it works and here it is helpful, even if stack still includes some noise):

   at async Task<Result> Foo.App.BarMethode()
   at void System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<TStateMachine>(ref TStateMachine stateMachine)
   at async Task<Result> Foo.App.BarMethode()
   at async void Foo.App.OnBarButtonClicked(object sender, EventArgs e)
   at void System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<TStateMachine>(ref TStateMachine stateMachine)
   at void void Foo.App.OnBarButtonClicked(object sender, EventArgs e)
   at void Xamarin.Forms.Button.Xamarin.Forms.Internals.IButtonElement.PropagateUpClicked()
   at void Xamarin.Forms.ButtonElement.ElementClicked(VisualElement visualElement, IButtonElement ButtonElementManager)
   at void Xamarin.Forms.Button.SendClicked()
   at void Xamarin.Forms.Platform.UWP.ButtonRenderer.OnButtonClick(object sender, RoutedEventArgs e)

MagicAndre1981 avatar Feb 22 '21 07:02 MagicAndre1981