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

Set Advanced Build Settings / Output / Debugging information to "Full… #59

Closed
wants to merge 1 commit into from

Conversation

jeanluc33
Copy link

For issue 58: #58

Resolve issue with "Indexed source information could not be retrieved from..." on certain TFS servers."

From commit:
…" (has the effect of modying .csproj file to add full for each debug and release configurations.

@alsami
Copy link
Member

alsami commented Oct 15, 2019

Can you please squash the commits?

Copy link
Member

@tillig tillig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs more research. See #58.

…information to "Full" (has the effect of modying .csproj file to add <DebugType>full</DebugType> for each debug and release configurations.
@alsami
Copy link
Member

alsami commented Oct 16, 2019

@jeanluc33 could you please change the output type to full within the main PropertyGroup, independent of configuration and framework, as described here?

@jeanluc33
Copy link
Author

As requested, I can put the debugtype property in the main PropertyGroup, and this will resolve my issue.

We should note for future reference though, that probably multi-targeting is a longer-term solution, as the .pdb format that works for me ("full") may not be preferable for a developer on a different platform (e.g. compiling .net core on an arbitrary platform, say linux, might be beneficial to have "portable" pdb, depending on whatever tooling is available).

But I won't complain, this works for us!

@tillig
Copy link
Member

tillig commented Oct 16, 2019

Hang on, we may need to do some more investigation here.

DebugType: full appears to have some impact on the JIT optimized code quality and it's recommended specifically that it's not used for release quality code.

PDB is included here to allow SourceLink to work.

Before we add this, let's see if there's some way we can follow up with the SourceLink team to see if they know what's going on here. I'm not against trying to come up with a fix, but I also want to be sure we're not adding a perf hit to everyone just for this situation.

I'm going to copy/paste this comment back to #58 and autofac/Autofac#995. Let's consolidate the discussion on researching these issues back on autofac/Autofac#995 rather than across this PR and the two issues. It's too hard to keep up.

Until we know what the actual solution is, let's close this PR and implement when we're sure, possibly with an all new PR.

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

Successfully merging this pull request may close these issues.

3 participants