Custom C# step template script

Hi. We’re considering creating a custom C# script for a step template to solve a deployment that is a bit out of the ordenary. I haven’t created any custom scripts for step templates in Octopus and I’ve so far been unable to find any example or documentation on how such a script should look, like the minimum required code to start with.
Is it possible for you to either point me in the right direction or provide an example of it?
With Regards
Henrik

Hi Henrik,

Thanks for getting in touch! Probably the basics that you’d need is just how to get variables, write to the log, etc. We have some examples of doing this in our custom scripts documentation page, covering multiple languages (PowerShell, C#, Bash, F#).

Let me know if this helps you get started! Don’t hesitate to reach out if you have any further questions going forward.

Kind regards,

Kenny