Skip to content

[BinFmt] Custom BuildEventArgs de/serialization #8823

@JanKrivanek

Description

@JanKrivanek

Background

#6215
This subitem is focused on https://github.com/dotnet/msbuild/blob/main/src/Shared/LogMessagePacketBase.cs#L377

Suggested approach

Define custom build event type with de/serialization methods similar to #8779 (however without any type hierarchy/ overloading/ reflection etc - just single type and bag of strings), allow only such custom events - unles opted-out via changewave
Seal our BuildEventArgs hierarchy - to prevent subclasing (handling of subclasses would require registration of those during startup of nodes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions