Solution Level Config Files

We’re using Octopus 2.4.7.85

I have a solution with projects in a structure like:

  • classLibraryA
  • classLibraryB
  • windowsService
  • aspNetMVCWebProject

I’d like to have Octopus config files inside both the service and web project for config they don’t share

  • classLibraryA
  • classLibraryB
  • windowsService
    • Octopus\
      • windowsService.dev.config
      • windowsService.staging.config
  • aspNetMVCWebProject
    • Octopus\
      • web.dev.config
      • web.staging.config

But also have solution level files for shared config (i.e. they both reference the same SQL server)

  • Octopus\
    • shared.dev.config
    • shared.staging.config
  • classLibraryA
  • classLibraryB
  • windowsService
    • Octopus\
      • windowsService.dev.config
      • windowsService.staging.config
  • aspNetMVCWebProject
    • Octopus\
      • web.dev.config
      • web.staging.config

Is that possible?

Hi Paul,

Thanks for getting in touch. I’m not sure if I totally understand your question but I’ll talk about a couple common scenarios.

If this doesn’t answer your question, can you tell me a bit more about what you’re trying to achieve?

Let me know how you go!

Thanks

Rob