There is a problem with File.SetLastWriteTime when using it on mounted volume which uses DNS Service Discovery (dns-sd).
I mounted a share with the following path to "/Volumes/C":
Everything is fine and I can call File.SetLastWriteTime on this path and it works like expected.
Mounting the same share with a dns-sd path results in a System.IO.IOException "Invalid parameter".
The path is:
As you can see, the only difference between these paths is the dns-sd part "._smb._tcp.local".
Git repo: https://github.com/kenkosmowski/Mono-SetLastWriteTime
Visual Studio Community 2017 for Mac
Version 7.1.3 (build 1)
Installation UUID: 58873ca7-1a81-458a-bb7e-92a319a7fcfd
Mono 126.96.36.199 (d15-3/14f2c81) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 502000224
*** Bug 59466 has been marked as a duplicate of this bug. ***
Any progress here?