Skip to content

How does one use the "Available MSBuild customizations"? #205

Answered by JimmyCushnie
JimmyCushnie asked this question in Q&A
Discussion options

You must be logged in to vote

Oh my lord, I finally figured it out.

The proper name for these is "MSBuild Properties". The reason why I couldn't find any information about it is that they are called "MSBuild customizations" in the readme.

The documentation is here: https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-properties

You can set an MSBuild variable by adding syntax like the following to a .csproj file:

<PropertyGroup>
    <GitTagRegex>put the regex here</GitTagRegex>
</PropertyGroup>

I have opened a PR (#206) to make the readme more clear.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JimmyCushnie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant