I am developing a C# windows service application, which have different configuration files for development, for production system, for test system, like:
Dev.config
Test.config
Prod.config
Now we are using SVN version control system, and configuration files stored in projects directories:
-trunk
-MyFooService
-Configs
Dev.config
Test.config
Prod.config
-MyFooService2
-Configs
Dev.config
Test.config
Prod.config
Prior publishing service to production you should get respective configuration file from that folders. How do you think, it is correct? Or configuration files should be placed in another repository? Or in another folder or should not be placed in VCS?
Or may be it will be better to place files like that:
-trunk
-src
-MyFooService
-MyFooService2
-configs
-MyFooService
-Configs
Dev.config
Test.config
Prod.config
-MyFooService2
-Configs
Dev.config
Test.config
Prod.config