The system cannot find the file specified

I use ASP.NET core
All my commands end errors

docker build -t microservice .
Sending build context to Docker daemon 3.072kB
Step 1/6 : FROM microsoft/aspnetcore:1.1
—> d5a0501ae546
Step 2/6 : ARG source
—> Running in a20a2c3a7f6b
—> 37b75ce196d9
Removing intermediate container a20a2c3a7f6b
Step 3/6 : WORKDIR /app
—> e4856aec2063
Removing intermediate container 37b8facd6334
Step 4/6 : EXPOSE 80
—> Running in 53df8381b5c4
—> 56f3e3b61c25
Removing intermediate container 53df8381b5c4
Step 5/6 : COPY ${source:-obj/Docker/publish} .
COPY failed: GetFileAttributesEx \?\C:\Windows\TEMP\docker-builder548247374\obj\Docker\publish: The system cannot find the path specified.

FROM microsoft/aspnetcore:1.1
ARG source
COPY ${source:-obj\Debug\netcoreapp1.1\publish} .
ENTRYPOINT [“dotnet”, “Microservice.Organization.dll”]

I had the same issue. Make sure that stuff you are trying to copy is not filtered out by dockerignore file. It will be automatically created by VS if you are using VS to create docker files for you.