Skip to content

Update building application logic + setting version#1190

Open
Sasinkas wants to merge 5 commits into
mainfrom
dec/sraroseck/Fix_binskim_build_vol2
Open

Update building application logic + setting version#1190
Sasinkas wants to merge 5 commits into
mainfrom
dec/sraroseck/Fix_binskim_build_vol2

Conversation

@Sasinkas
Copy link
Copy Markdown
Contributor

@Sasinkas Sasinkas commented May 27, 2026

This PR consolidates and modernizes the BinSkim versioning strategy by removing the legacy SetCurrentVersion.cmd script and the manually-generated src/BinaryParsers/VersionConstants.cs file, eliminating the version-stamping shell logic from BuildAndTest.cmd, and instead declaring the version once in Directory.Build.props using standard MSBuild properties (AssemblyVersion, FileVersion, Version). It enables the SDK's GenerateAssemblyInfo (while suppressing a few unneeded attributes) in build.common.props, removes the now-redundant assembly-level version attributes from the Driver's AssemblyInfo.cs, and updates BuildPackages.cmd to query the version from MSBuild at pack time—making Directory.Build.props the single source of truth for the 4.4.9.9 version and allowing a parent BinSkimInternal repo to override it when this project is consumed as a submodule.

@Sasinkas Sasinkas requested a review from a team as a code owner May 27, 2026 08:15
@Sasinkas Sasinkas changed the title Dec/sraroseck/fix binskim build vol2 Update building application May 27, 2026
@Sasinkas Sasinkas changed the title Update building application Update building application logic + setting version May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant