How to get expanded BuildNumber and RevisionNumber in CustomActionsAfterPublish
Open
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
I am using a wildcard version number in my DotNet Core csproj like this:
false
1.0.*
false
1.0
After the build is complete, I want to run a task that uses the generated exe with its version something like:
--target MyExe.$(Version).$(BuildNumber).$(RevisionNumber)
but BuildNumber and RevisionNumber are both empty.
Is there a way to get the generated AssemblyVersion property in the csproj?
$(AssemblyVersion) just returns 1.0.* and I would like 1.0.7607.33063
$(FileVersion) also return 1.0.*
Anyone accomplished this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.