event name should have at least 3 parts separated by slash. Parameter name eventName in Asp.Net Core Docker event name should have at least 3 parts separated by slash. Parameter name eventName in Asp.Net Core Docker docker docker

event name should have at least 3 parts separated by slash. Parameter name eventName in Asp.Net Core Docker


There is another cause of this. To fix it go to File=>Account Settings in VS and sign in


For the "event name should have at least 3 parts separated by slash..."

My work-around: You HAVE to do a clean, then a rebuild all then a publish. The build process in the publish intermittently causes a failure.

[EDIT] I have found just doing the clean and then publishing also works. fwiw.

My VS details


I was able to fix this error myself, and thought of sharing it here, so that it can be useful to someone else.

The problem was because, one of my colleague deleted the docker-compose file and docker file from my solution to re-enable the Docker support for some reason, and when we were trying to add the Docker support, we got this error.

Even though we deleted the Docker support file from Visual Studio solution, the files were not being deleted from the solution directory. As a fix, you must delete those files manually by going to that directory, after that you will be able to add the Docker support again to your project.