To see the issue run:

dotnet publish -o out