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.

runtime sourcelink file missing with latest sourcelink version

See original GitHub issue

The darc dependency flow PR into installer is failing to build runtime in source build with the following error:

/vmr/src/runtime/artifacts/source-build/self/src/eng/versioning.targets(194,5): error MSB3030: Could not copy the file "/vmr/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/runtime-prereqs/x64/Release/runtime-prereqs.sourcelink.json" because it was not found. [/vmr/src/runtime/artifacts/source-build/self/src/src/coreclr/runtime-prereqs.proj]

This appears to be released to the changes made in https://github.com/dotnet/sourcelink/pull/989. cc @tmat

The _GenerateSourceLinkFile task is not writing the runtime-prereqs.sourcelink.json file.

binglog: https://artprodcus3.artifacts.visualstudio.com/A6fcc92e5-73a7-4f88-8d13-d9045b45fb27/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2RuY2VuZy1wdWJsaWMvcHJvamVjdElkL2NiYjE4MjYxLWM0OGYtNGFiYi04NjUxLThjZGNiNTQ3NDY0OS9idWlsZElkLzIzMjE1NS9hcnRpZmFjdE5hbWUvQ2VudE9TU3RyZWFtOF9PbmxpbmVfTXNmdFNka194NjRfQnVpbGRMb2dzX0F0dGVtcHQx0/content?format=file&subPath=%2Fsrc%2Fruntime%2Fartifacts%2Fsource-build%2Fself%2Fsrc%2Fartifacts%2Fsourcebuild.binlog

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tmatcommented, Apr 10, 2023

Oh, here is the issue:

image

0reactions
tmatcommented, Apr 10, 2023

Ok, I think this is a bug in sourcelink target

Read more comments on GitHub >

github_iconTop Results From Across the Web

SourceLink info missing from unmanaged CLR PDBs #83184
NET runtime have SourceLink information, this appears to be missing from native (unmanaged) DLLs. For example, coreclr.dll has no SourceLink ...
Read more >
Improving Debug-time Productivity with Source Link - .NET ...
Learn how to improve your debug-time productivity by using Soure Link to step into framework and dependency code with .NET.
Read more >
Link /SOURCELINK option seems to do nothing
We are using SourceLink with c# projects and it is working just fine. When we try to use it on C++ projects the...
Read more >
c# - SourceLink Authentication error when using Microsoft. ...
A PackageReference to Microsoft.SourceLink.AzureRepos.Git, using the latest Version (1.0.0-beta2-19554-01); This project generates a package ...
Read more >
How to configure Source Link in .NET & how to use into ...
Step-by-step tutorial by Luis Ruiz Pavón on How to configure Source Link in .NET and how to use it in Visual Studio. Enjoy!...
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