Prevent dotnet publish from marking dll files as executable on linux

342 Views Asked by At

When I run dotnet publish on linux, it stages the server dll as well as the dll files of dependencies.

All are marked as executable.

That makes no sense (might even be a bug?). So I use chmod -x *.dll in a post-publish task.

Can I disable this behaviour?

0

There are 0 best solutions below