Debugging MSBuild.Sdk.Extras projects
I am not able to debug into projects using MSBuild.Sdk.Extras. I'm using Visual studio 2019 16.3.9 and <Project Sdk="MSBuild.Sdk.Extras/2.0.54">. Any ideas?
Hardly any info in here. I'm able to debug fine, are you sure you're in Debug mode and doing a project reference into MSBuild.Sdk.Extras project?
Usually, this is caused by corrupt bin and obj folders. do a git clean -xf on your solution after shelving any important changes so you don't lose them, and you should be good to go.
I still can not debug in IOS. I set my project up as close as possible to the Xamarin.Essentials Proj at https://github.com/xamarin/Essentials/blob/main/Xamarin.Essentials/Xamarin.Essentials.csproj. The notable differences are listed below
<PropertyGroup>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Deterministic>false</Deterministic>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\StrongName.snk</AssemblyOriginatorKeyFile>
<DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
</PropertyGroup>
Ok playing around with this a little more I fixed it (at least on IOS) by making changes to my root level IOS project. I'm not sure which setting fixed it.
