Generating File Content in the Build
Whether your build system was developed by Heath Robinson or you simply may want it to look like it was, you can generate files on the fly as part of the post-build process.
Here, I'm using the built-in AfterBuild target and using an Item to contain the text of the file I'm going to write.
Once again we prove ItemGroups are good for more than just batching lists of files.