Skip to content

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

Closed

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: needs discussion
    type: enhancement
    on Aug 4, 2022
  2. added
    state: ready to pick
    area: core
    flag: good-first-issue
    and removed
    state: needs discussion
    on Aug 8, 2022
  3. fgreinacher commented on Aug 8, 2022

    @fgreinacher
    Contributor

    This makes a lot of sense, contributions welcome 👍

  4. davidrogers090 commented on Aug 8, 2022

    @davidrogers090
    ContributorAuthor

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

  5. fgreinacher commented on Aug 8, 2022

    @fgreinacher
    Contributor

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

  6. added
    state: in work
    and removed
    state: ready to pick
    flag: good-first-issue
    on Aug 9, 2022
  7. 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: corestate: in worktype: enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions