I'm going to create a .NET Core project with Docker in Visual Studio 2017. I created a project and added dockers to the solution, and everything works.
But somehow VS will not create and launch Docker with any configurations except Debug and Release.
I created a solution and project configuration called Preproduction and selected it, and also created a docker-compose.vs .preproduction.yml file.
But when I run the preset, the project works as if Release was selected. The Build Output console also shows the following:
Debugging
*docker-compose -f "docker-compose.yml" -f "docker-compose.override.yml" -f "docker-compose.vs.debug.yml" -p dockercompose3979710767*
Release
*docker-compose -f "docker-compose.yml" -f "docker-compose.override.yml" -f "docker-compose.vs.release.yml" -p dockercompose3979710767*
Preparation of production
*docker-compose -f "docker-compose.yml" -f "docker-compose.override.yml" -f "docker-compose.vs.release.yml" -p dockercompose3979710767*
Pay attention to the second yml file. Somehow it uses the release file, not the custom configuration file that I added.
- , , ?