Description
A thought (as yet not investigated in any more detail than this)
Fake currently has a dependency on Mono.Posix.NetStandard to get the 'GetRealPath' function to resolve symlinks:
FAKE/src/app/Fake.DotNet.Cli/DotNet.fs
Line 839 in accd2f4
That caused a problem on ARM CPU macs due to the lack of an ARM build of the native code part of that package.
I tried updating it to the newer Mono.Unix package in #2781 back that failed with other issues.
So, I was reading about a little for ideas and noticed that .NET 6.0 now has a built in 'ResolveLinkTarget' function that does this sort of thing with no external dependencies:
https://learn.microsoft.com/en-us/dotnet/api/system.io.file.resolvelinktarget?view=net-6.0
So - I wonder if it be possible to use that for .NET 6.0 builds and avoid the Mono.Unix dependency?