Closed den4md closed 1 year ago
The VS tooling should work with both Compose V1 and Compose V2. Docker Desktop controls this setting and you can find a checkbox for "Use Docker Compose V2" under Settings->General.
I found the setting. The warning is gone. Thank you! I wonder whether everyone who uses Docker Desktop should make same change.
Thanks for the confirmation. The default is Compose V2 for quite a while now in the latest Docker builds, so not sure why it wasn't checked for you.
It seems that VS's container development tools module uses deprecated Compose V1. Official article with change list
I'm using VS 2022:
My project uses Microsoft .NET Framework Version 4.8.04084 with Container Orchestrator support. Recently I've started noticing next log lines while building the project:
Docs says that:
It can postentially break the whole Container Orchestrator support for Visual Studio.
Couldn't find any info about VS and switching to Compose V2, therefore this issue is created.