If there was an easy cross-platform scripting language that was installed by default, now we'd be talking.
https://marketplace.visualstudio.com/items?itemName=PeterR.U... https://github.com/shenchauhan/UWPTileGenerator
Or, you know, write Powershell (depending on what platforms you need to support ofc).
I definitely don't see using cs files or f# scripts as an easier way of doing this.
That said, there's a LOT of repetition in there and while you probably _can_ improve that in this solution, a 'proper' language might be more readable. Again, if you're a C# developer, C#/F# (or even Powershell) scripts are probably ~closer to home~.
That whole script is basically - if I understand it correctly - two unrolled loops. Instead of two loops (logo dimensions, scale) you're duplicating a loooot of lines.
If this is no problem: Cool. Then again, maybe you want to improve this approach in the future?