Reputation: 35
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.
Upvotes: 1
Views: 666
Reputation: 3808
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>
Upvotes: 1