Skip to content

Building ILC causes double writes in the runtime build #89763

@ViktorHofer

Description

@ViktorHofer

Repro: build.cmd/sh clr+libs /bl

Inspect the binary log and find the following double write:

image

This is problematic as it makes the build slower as it needs to be and might break the incremental build feature in msbuild. After fixing this issue, we should consider adding CI protection to guard against double writes by doing something similar to https://www.meziantou.net/detecting-double-writes-in-msbuild-using-the-binlog.htm. AFAIK the roslyn team already does that.

cc @MichalStrehovsky

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions