The TestingHelpers package is currently not usable on non-Windows platforms as even the simplest operations are failing, e.g.:
Error Message:
System.PlatformNotSupportedException : Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.
Stack Trace:
at System.Security.AccessControl.ObjectSecurity..ctor()
at System.Security.AccessControl.CommonObjectSecurity..ctor(Boolean isContainer)
at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType)
at System.Security.AccessControl.DirectorySecurity..ctor()
at System.IO.Abstractions.TestingHelpers.MockDirectoryData..ctor()
at System.IO.Abstractions.TestingHelpers.MockFileSystem.AddDirectory(String path)
The TestingHelpers package is currently not usable on non-Windows platforms as even the simplest operations are failing, e.g.: