Skip to content

TestingHelpers not usable on non-Windows platforms #272

@fgreinacher

Description

@fgreinacher

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions