You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
File.CreateSymbolicLink functionality is missing (Added in .net6.0) #869
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.
Activity
fgreinacher commentedon Aug 8, 2022
This makes a lot of sense, contributions welcome 👍
davidrogers090 commentedon Aug 8, 2022
I've begun working on this. I should be able to do a PR soon.
fgreinacher commentedon Aug 8, 2022
Thanks @davidrogers090! Feel free to ping me anytime for support/feedback!
vbreuss commentedon Apr 13, 2023
I think this is now implemented with #965...