Skip to content

R2RDump questions for 5.0 source-build #43599

@dagood

Description

@dagood

I ran into the R2RDump project while investigating prebuilts in the 5.0 source-build effort. I have some questions:

  1. Does R2RDump end up in the product (SDK or Runtime)?
    • This means we need to be able to build it from source without prebuilts. If not, maybe we can just skip it.
  2. Why does it have a dependency on Microsoft.NETCore.CoreDisTools/1.0.1-prerelease-00005?
  3. Where is the source for Microsoft.NETCore.CoreDisTools/1.0.1-prerelease-00005?
    • The nuspec links the coreclr repo as projectUrl, but I can't even find it there in 3.1 or 2.1.

This package brings in a few others via runtime.json, runtime.win-x64.[...] and runtime.win-x86.[...]. (We only build from source on non-Windows platforms, so it seems odd to me that we get Windows prebuilts but nothing like linux-x64. The direct cause is <RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>, but I don't know the reason that line is in the csproj.)

The broader context is that I see this package in the annotated prebuilt report from 5.0-preview8, where R2RDump is the only project detected as using these packages:

<AnnotatedUsage Id="Microsoft.NETCore.CoreDisTools" Version="1.0.1-prerelease-00005" File="src/runtime.bf456654f9a4f9a86c15d9d50095ff29cde5f0a4/artifacts/obj/coreclr/R2RDump/project.assets.json" IsDirectDependency="true" Project="src/runtime.bf456654f9a4f9a86c15d9d50095ff29cde5f0a4/" />
...
<AnnotatedUsage Id="runtime.win-x64.Microsoft.NETCore.CoreDisTools" Version="1.0.1-prerelease-00005" File="src/runtime.bf456654f9a4f9a86c15d9d50095ff29cde5f0a4/artifacts/obj/coreclr/R2RDump/project.assets.json" Rid="win-x64" Project="src/runtime.bf456654f9a4f9a86c15d9d50095ff29cde5f0a4/" />
<AnnotatedUsage Id="runtime.win-x86.Microsoft.NETCore.CoreDisTools" Version="1.0.1-prerelease-00005" File="src/runtime.bf456654f9a4f9a86c15d9d50095ff29cde5f0a4/artifacts/obj/coreclr/R2RDump/project.assets.json" Rid="win-x86" Project="src/runtime.bf456654f9a4f9a86c15d9d50095ff29cde5f0a4/" />

@mangod9 @nattress (area owners) can you help us figure out what to do with these prebuilt dependencies?

/cc @mmitche, you're listed as the Microsoft.NETCore.CoreDisTools pusher, so cc in case you remember the reasoning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions