Skip to content

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

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.

Activity

  1. added
    state: ready to pickIssues that are ready for being worked on
    area: coreIssues that address the core abstractions & the wrappers
    flag: good-first-issueIssues that are good for first time contributors
    and removed on Aug 8, 2022
  2. fgreinacher commented on Aug 8, 2022

    @fgreinacher
    Contributor

    This makes a lot of sense, contributions welcome 👍

  3. davidrogers090 commented on Aug 8, 2022

    @davidrogers090
    ContributorAuthor

    I've begun working on this. I should be able to do a PR soon.

  4. fgreinacher commented on Aug 8, 2022

    @fgreinacher
    Contributor

    Thanks @davidrogers090! Feel free to ping me anytime for support/feedback!

  5. added
    state: in workIssues that are currently worked on
    and removed
    state: ready to pickIssues that are ready for being worked on
    flag: good-first-issueIssues that are good for first time contributors
    on Aug 9, 2022
  6. vbreuss commented on Apr 13, 2023

    @vbreuss
    Member

    I think this is now implemented with #965...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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