AssemblyMetadata - Build Time with Source Code Generators

AssemblyMetadata - Build Time with Source Code Generators

.NET has for some time source code generators: a mechanism with which it is possible to generate source code at compile time, as has been known, for example, with DSL approaches since ~2005.

However, source code generators are much simpler and, above all, much more performant - and are also very suitable for significantly simplifying build tooling mechanisms.

I used the source code generators to embed the current build time as ISO8601 into the assembly - for example to use it as an info dump. I created this as a NuGet package and published it on GitHub:

AssemblyMetadata on GitHub