1

I am creating a project on UWP with Xamarin form but I am unable to debug code??

I am creating a Login.xaml page and code on design part is :- <Button Text="Login" Clicked="OnNextPage" BackgroundColor="Yellow" /> and Login.xaml.cs file:- I tried to calling button click event:- you can see in below image:- But breakpoint not hitting when click on button.

Annu
  • 35
  • 1
  • 5
  • Are you trying to debug on your local computer or another device? Also, check to make sure you're actually in debug mode and not release in Visual Studio. – Nick Peppers Jan 24 '18 at 14:34

1 Answers1

1

It seems the same issue here: Xamarin Forms UWP - Unable To Debug Shared Code

Try the workaround from @Nico Zhu - MSFT to place the following code in the .NET Standard Library csproj file.

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugType>Full</DebugType>
</PropertyGroup>
Breeze Liu - MSFT
  • 3,734
  • 1
  • 10
  • 13