Closed WeetA34 closed 1 year ago
@WeetA34 unfortunately compose support with a project at the solution level is not a supported scenario. The compose project currently lives at the solution level and creating a project at the solution level and adding compose support essentially creates two projects in one directory which can cause issues.
In 17.6 we have disabled the ability to add compose support to a project at the solution level to reflect this.
Hello @patverb, OK. I created this issue because I didn't find any note about that. Thank you for the confirmation that it's not supported and the option to add compose will be disabled in this case
Hello
I created a fresh new project with the latest version of VS2022. I checked "Place solution and project in the same directory" during project creation. Then i added a "Container Orchestrator Support".
Two weird things:
Even if I replace StartWithoutDebugging by StartDebugging in launchSettings.json, the container debug doesn't work. Docker Compose Launch Settings Ui doesn't show the action. When I click on the dropdown, I only see:
I created another fresh new project with "Place solution and project in the same directory" not checked. Then I used the same procedure.
In this case, no issue:
I'm using:
I get the same results for docker-compose commands executed during Docker Compose Launch Settings Ui loading.
Context paths are ok
Thank you Best Regards