`build.sh` produces `Permission denied`
.NET version
main branch
Issue description
I tried to build the repo with build.sh. It reported that Permission denied. I wonder what the intent is. It isn't described at https://github.com/dotnet/winforms/blob/main/docs/building.md. I did not try to run the build via sudo, since that seems like a bad idea.
Steps to reproduce
rich@mazama:~/git/winforms$ ./build.sh
./build.sh: line 16: /home/rich/git/winforms/eng/common/build.sh: Permission denied
See #10491.
I am unsure if support for linux exists.
It probably doesn't. It seems like we should either delete the script or document in building.md that build.sh is unusable for this repo, but that we cannot delete it.
Potentiall we could use the EnableWindowsTargeting property if we really want to, and revert the linked change. It's not a huge priority, but it might make some folks happy
From: Igor Velikorossov
I think you just need to set correct permissions to the shell scripts “chmod 644” https://stackoverflow.com/a/78936172/2338036
This is not a priority for .NET 10.