Skip to content

[BUG] - Incorrect FileVersion in generated header file #56

Closed
@smaillet

Description

@smaillet

.NET Framework Used:

  • .NET 9.0

OS Environment:

  • Windows 10
  • Windows 10 IoT Core
  • Windows Server 2012
  • Windows Server 2012 R2
  • Windows Server 2016

OS Version: ####.####...

I have already...

  • Reproduced the problem using the latest stable release.
  • Reviewed the documentation.
  • Reviewed the current issues to check that the issue isn't already known.

Description:

Generated version.hr has incorrect FileVersion Quad for a CI build. It contains an even numbered value for a CI build when it should be ODD numbered.

Steps to reproduce the problem:

  • Reviewed the documentation.
    Included the v5.0.3 package as a reference for a C++ project. With build XML as:
<BuildVersionData
    BuildMajor = "20"
    BuildMinor = "1"
    BuildPatch = "6"
    PreReleaseName = "beta"
/>

Expected Behavior
Expected to get a generated Version info with FILE_VERSION_STRING PRODUCT_VERSION_STRING as "5.44854.3881.6735"

Actual Behavior
Both strings are "5.44854.3881.6734", which is an EVEN numbered value indicating it is NOT
a CI build, which is wrong.

Additional context
This is from a build of the Llvm.Libs project.

Metadata

Metadata

Assignees

Labels

bugReported as a bug

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions