ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#โ€ข13mo agoโ€ข
22 replies
Destination Unknown

Visual Studio integration with Docker Compose not functioning as expected.

Hello, I have on solution level a docker-compose file which I use to containerize my application. In Visual Studio I have because of this also a start button with
Docker Compose
Docker Compose
. Yesterday I decided to make some changes in my Docker-compose file. Yet because of this I am unable to launch my project again.

The active launch profile Docker Compose is not valid. The services 'blob-storage' used in launch profile are not present in the docker compose files.
The active launch profile Docker Compose is not valid. The services 'blob-storage' used in launch profile are not present in the docker compose files.


When I click on this error message, Visual Studio redirects me to this file:
Microsoft.VisualStudio.Docker.Compose.targets
Microsoft.VisualStudio.Docker.Compose.targets
. I have tried to clean and rebuild the project but I have no clue on how to resolve this issue. Deleting this file is discouraged either.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

First time docker visual studio, container runs with compose visual studio not with CLI (swagger we)
C#CC# / help
2y ago
Visual Studio doesn't work as expected with source generators [Answered]
C#CC# / help
4y ago
โ” doubts with docker-compose
C#CC# / help
3y ago