PostDeploy.ps1 and a $ sign in the path name


I have an issue, where my PostDeploy.ps1 is not executed, because Octopus says, it can’t find it. My custom install location is called
"c:\MyApp\AppService$Test", the error says, that PostDeploy.ps1 cannot be found at “c:\MyApp\AppService”. It looks like, the $Test is interpreted as a variable by Powershell. Any ideas?

Kind regards,
Marco Heine

Hi Marco,

Thanks for getting in touch! PowerShell is evaluating the $. We are going to look at fixing this as part of our 2.6 build. You can track the issue here.
Currently there are no workarounds apart from removing the $ temporarily.