I had the same problem. In my case, it was a typo in command for .NET Core publish:
dotnet publish "Api.csproj" --output "....\output\"
Only this command helped:
rmdir /s /q ....\
I had the same problem. In my case, it was a typo in command for .NET Core publish:
dotnet publish "Api.csproj" --output "....\output\"
Only this command helped:
rmdir /s /q ....\