Skip to content

Build overwrites bootstrap build's prebuilt-usage.xml report #122968

@ViktorHofer

Description

@ViktorHofer

From the end of the bootstrap build:

  Successfully created package '/home/vihofer/git/dotnet/src/runtime/artifacts/packages/Release/NonShipping/Microsoft.NETCore.Platforms.11.0.0-dev.nupkg'.
  Writing package usage data...
  Writing package usage data... done. Took 00:00:01.9440670

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:07:56.65
Cleaning up artifacts from bootstrap build...

The actual build then again creates the prebuilt-usage.xml file by overwriting the previous one.

The bootstrap build should probably change this value: https://github.com/dotnet/dotnet/blob/6a7afa81aa9d28ba3710edb04a09db304732ba2c/src/arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/TrackPrebuiltUsage.targets#L14

This can be configured in eng\AfterSolutionBuild.targets, eng\Versions.props or as a global property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions