Skip to content

[Feature Request]: Bitshift MSBuild Property Function #8551

@333fred

Description

@333fred

Issue Description

For reasons being Android version codes (which must be a single number), I'd like to be able to bitshift various parts of my major/minor/patch numbers together to make a single applicationversion number. There's no msbuild property function for this today, though, so I need to resort to an inline task. We already have some bitwise ops (such as and and or), but not shifts.

Steps to Reproduce

N/A

Expected Behavior

N/A

Actual Behavior

N/A

Analysis

https://github.com/dotnet/msbuild/blob/main/src/Build/Evaluation/IntrinsicFunctions.cs will need to be updated.

Versions & Configurations

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions