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

Viewed 6888

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.

enter image description here

Any one faced this issue before? I have already tried reopening my solution and restarted my machine.

6 Answers

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 deploy to Azure with two different accounts. I did not realize I was logged in to my personal account in Visual Studio when I thought I was logged in to my org account. Swapping to the correct account resolved this cryptic error message for me.

For me re-entering my credentials solved the issue.

I clicked restore, logged in again and didn't follow through (but propably any way to re-enter credential would also work)

I was able to fix this issue by updating visual studio version

Related