Breakpoints are not hitting the netstandard project referenced by the android project
1 answer
I believe the ppdb support here is not entirely for Xamarin. Thus, <DebugType>portable</DebugType>
dotnet.csproj implied in the standard is incompatible.
You can hit breakpoints in the dotnet standard library by adding the following to the dotnet.csproj standard library:
<DebugType>Full</DebugType>
This will revert to default debug type "full" instead of ppdb (portable pdb)
If there is a need for a conditional expression, you can return to the following:
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>Full</DebugType>
</PropertyGroup>
or
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdb-only</DebugType>
</PropertyGroup>
However, the release is a <DebugType>
bit redundant.
+7
source to share