Skip to content

File.CreateSymbolicLink functionality is missing (Added in .net6.0) #869

@davidrogers090

Description

@davidrogers090

Is your feature request related to a problem? Please describe.
I'd like to be able to use the File.CreateSymbolicLink and Directory.CreateSymbolicLink functionality in a testable way.

Describe the solution you'd like
The IFile.CreateSymbolicLink and IDirectory.CreateSymbolicLink and the default implementations available for use.

Describe alternatives you've considered
I could use the old way to create symbolic links, but this is messy and difficult to test.
I could invoke cmd.exe mklink, but this is not cross-platform and has serious security concerns.

Additional context
Related to #789.

Metadata

Metadata

Labels

area: coreIssues that address the core abstractions & the wrappersstate: in workIssues that are currently worked ontype: enhancementIssues that propose new functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions