Hi Octopi,
I have a single nuget package which contains 2 separate windows services. These services are segregated into their own subfolder in the package and within each folder is the app.config and env transforms for each one. For example:
Service1\service1.config
Service1\app.Test.config
Service1\app…Live.config
Service2\service2.config
Service2\app.Test.config
Service2\app…Live.config
In other projects with a single service, I have this working by specifically defined the transform files like:
App.#{Octopus.Environment.Name}.config => MyService.exe.config
However, I can’t get this to differentiate the config files by specifying the folder to the config and transform files.
It looks like the only way that I can do this is by renaming the transform files before they are packaged or separating into different packages and projects – both of which are technically achievable, but not desirable process-wise.
Is there another way to that you know of?