Skip to content

Spectre.Console assembly version mismatch #5466

@mthalman

Description

@mthalman

The assembly version of the Spectre.Console.dll contained in a Microsoft-built SDK is 0.0.0 (which comes from nuget.org) while in a source-built SDK it is (currently) 0.54.0. It's not clear why there's a difference. But clearly the way in which source-build builds Spectre.Console is different than how the Spectre.Console maintainers are building it. Note that the Spectre.Console from nuget.org does have AssemblyFileVersion set to 0.54.0.0.

Microsoft-built:

[assembly: AssemblyFileVersion("0.54.0.0")]
[assembly: AssemblyInformationalVersion("0.54.0+e097281ca8a50268b1022453fe6efd9112123a28")]
[assembly: AssemblyVersion("0.0.0.0")]

Source-built:

[assembly: AssemblyFileVersion("0.54.0.0")]
[assembly: AssemblyInformationalVersion("0.54.0+3de05cf7ffee96589cd3f7a619eb077d553c3755")]
[assembly: AssemblyVersion("0.54.0.0")]

Why does this matter? We should strive to have the source-build SDK to be as close as possible to the Microsoft-built SDK. This could potentially be a symptom of other unintended differences in the build output for this assembly. In addition, it shows up in our assembly diff results which need to be accounted for.

Metadata

Metadata

Labels

area-buildImprovements in source-build's own build process

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions