I have a Visual Studio C# solution which I have added a new solution configuration to.
When I create new projects in the solution they have Debug and Release configurations only.
Why do they not have the additional configurations?
I have a Visual Studio C# solution which I have added a new solution configuration to.
When I create new projects in the solution they have Debug and Release configurations only.
Why do they not have the additional configurations?
Understanding Build Configurations says:
By default, projects created with Visual Studio include Debug and Release configurations. Debug configurations are automatically configured for debugging an application, and Release configurations are configured for the final release of an application.
So, basically, every time you add a new project to the solution, you choose the type of your new Visual Studio project from a set of preexisting project templates, which only have the Debug and Release configurations.
Visual Studio allows you to export your own project templates and use them subsequently for creating new projects.
What you can do is:
You will have the Test available as a custom project configuration.
[UPDATE]
Alternatively, you should know that it's also possible to create your own Visual Studio Add-ins which could give you more freedom for creating projects based on templates and for automating builds. Check out the following examples: