Previously I have always had separate cloud projects for each environment, like this:
This poses some problems:
- Maintaining multiple
ServiceDefinition.csdef
files - When building to a common output path, which
ServiceDefinition.csdef
is copied?
I am proposing using a single Cloud Project with multiple ServiceConfiguration
files for each environment, and multiple profiles for publishing:
Pros:
- Less maintenance issues (1 project and 1
ServiceDefinition.csdef
) - A single
ServiceDefinition.csdef
is copied to the output folder
The problem I have now is that all environments need to have the same instance size as this is defined in the ServiceDefinition.csdef
.
Is there any way I can get around this problem?