I am getting an error as "event name should have at least 3 parts separated by slash. Parameter name eventName" when adding a docker support to my existing Asp.Net Core Web API project.
Any one faced this issue before? I have already tried reopening my solution and restarted my machine.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With