Variable substitution in files not in a NuGet package

Is it possible to do variable substitution in files outside a package? For instance to a file at a fixed location in a linux VM?

Hi,

Thanks for reaching out. I’m afraid this isn’t possible, and also not a practice we would recommend. If you need to modify a file during a deployment, you’ll need to deploy a copy of it, transform it during the deployment and then place it in the desired directory.

Thanks,
Dalmiro

Ok thank you, we will go the Nuget package way.