question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stamp Microsoft.DotNet.MSBuildSdkResolver.dll with Git SHA

See original GitHub issue

I’m looking at Microsoft.DotNet.MSBuildSdkResolver.dll this version:

[assembly: AssemblyCompany ("Microsoft.DotNet.MSBuildSdkResolver")]
[assembly: AssemblyConfiguration ("Release")]
[assembly: AssemblyFileVersion ("2.2.100.0")]
[assembly: AssemblyInformationalVersion ("2.2.100-preview1-008633")]
[assembly: AssemblyProduct ("Sdk")]
[assembly: AssemblyTitle ("Microsoft.DotNet.MSBuildSdkResolver")]
[assembly: AssemblyVersion ("2.2.100.0")]

I’d like to find the source code to debug this .dll. I’m not sure if it’s SourceLinked and/or if the .pdb is embedded.

It would be nice to stamp the Git SHA into the .dll as an assembly-level attribute so it’s easy to pull the source code and check out the matching version.

Bonus: SourceLink the .pdb, make sure the .dll is deterministic and the .pdbs are portable and either published everywhere or embedded into the .dll.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
KirillOsenkovcommented, Oct 16, 2018

No, I was investigating https://github.com/mono/monodevelop/issues/6335, we’ve found the problem in VSMac (no support for SDK resolver manifest .xml files).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Backlog Milestone
NET Core projects, that is shared between Visual Studio and CLI - Backlog Milestone ... Stamp Microsoft.DotNet.MSBuildSdkResolver.dll with Git SHA.
Read more >
c# - Embed git commit hash in a .NET dll
I'm building a C# application, using Git as my version control. Is there a way to automatically embed the last commit hash in...
Read more >
Microsoft.DotNet.MSBuildSdkResolver doesn't resolve ...
DotNet.MSBuildSdkResolver.dll in msbuild as part of the upcoming Mono release to resolve .NET Sdks from .NET Core (basically the same that "full ...
Read more >
Adding a git commit hash and Azure DevOps Build Number ...
I was working/pairing with Damian today because I wanted to get my git commit hashes and build ids embedded into the actual website...
Read more >
Breaking change: .version file includes build version - .NET
Learn about a breaking change in the .NET SDK where the .version file now includes the specific build version.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found