Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging MSBuild.Sdk.Extras projects #197

Open
gmarbury opened this issue Nov 14, 2019 · 4 comments
Open

Debugging MSBuild.Sdk.Extras projects #197

gmarbury opened this issue Nov 14, 2019 · 4 comments

Comments

@gmarbury
Copy link

I am not able to debug into projects using MSBuild.Sdk.Extras. I'm using Visual studio 2019 16.3.9 and . Any ideas?

@SachinCS1992
Copy link

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?

@jzabroski
Copy link

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.

@gmarbury
Copy link
Author

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>

@gmarbury
Copy link
Author

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.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants