How to use buildnumber while stamping INF files

Hi ,
I am a beginner working on INF files.
My .vcxproj file is having a property that uses to use it in driverVer . My INF driverVer as follows DriverVer=04/10/2024,

I would like to use build number in my INF file ,something like 1.0.14.$(build number).

How can I use azure build number to stamp my INF file ?

I've made this tool for this exact use case, feel free to adopt.


If you set an environment variable STAMPINF_VERSION then that will be used for settings the version in the inf-file.

Read more here: