I'd like to setup some sort of mechanism so that every time a build is done of my XSharp code a small piece of code runs to calculate the number of weeks and days since the project started, to update a build number automatically. I build the command line compiler and via XIDE as well.
I looked through the documentation and didn't see anything that could do this but wonder if I missed something.
Macro code in preprocessor?
-
mindfulvector
- Posts: 32
- Joined: Tue Jun 24, 2025 1:57 pm
- Location: United States
Re: Macro code in preprocessor?
Isaac,
If you are building with VS/MdBuild then you can create a build task that generates a file with this info and add that file as Compile Item to the build script.
Robert
If you are building with VS/MdBuild then you can create a build task that generates a file with this info and add that file as Compile Item to the build script.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu

