-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
I ran into the R2RDump project while investigating prebuilts in the 5.0 source-build effort. I have some questions:
- 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.
- Why does it have a dependency on
Microsoft.NETCore.CoreDisTools/1.0.1-prerelease-00005?runtime/src/coreclr/src/tools/r2rdump/R2RDump.csproj
Lines 21 to 23 in c5a3f49
<PackageReference Include="Microsoft.NETCore.CoreDisTools"> <Version>1.0.1-prerelease-00005</Version> </PackageReference> - Context: this package appears in the
dotnet5-transportfeed: https://dev.azure.com/dnceng/public/_packaging?_a=package&feed=dotnet5-transport&package=Microsoft.NETCore.CoreDisTools&protocolType=NuGet&version=1.0.1-prerelease-00005, but they were all pushed at once (pointing to some manual migration) and they don't appear to be regularly updated.
- 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.
- The nuspec links the coreclr repo as
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.