I have three configurations created. "Development", "Test", "Production".
I also have a database connection string defined in my settings
Is there a way I can utilize the following screen to ensure the proper value ends up in the setting field for each configuration?
And is the same possible for a class library housing an entity model?
I can offer you three options.
1) Use $(ConfigurationName) in your pre-build passing it into a batch file or the like.
2) Use a config files with separate sections for each build configuration. VS supports this. I think this is the best option. See below.
e.g.
3) In each project configuration declare a unique compilation symbol and use that in code for conditional compilation (not recommended).