-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not create link: A required privilege is not held by the client #24
Comments
Hi @sethreidnz, thanks for using NuLink! |
Sounds good. I really like this tool, and think that it should be part of nuget. Currently I've got a hectic schedule but if I find some time to think about this I'd be happy to try to improve this tool with you! |
Probably it tries to create a hardlink, not a junction - a difference between However, NuLink itself doesn't rely on
I suppose the first 2 ones are this winapi function which frankly seems to always require elevation (so it creates a hardlink "/d", not a junction "/j") unless 'developer mode' is on. Which actually we could rely on, since it's rather common thing for NuLink users to be developers. But still I don't like it. I think a Junction should be enough here. also FYI: |
Re creating junctions
and even some good soul already wrote that in C#, but I can't find any nuget for that atm |
When I ran the command to link a project I got an error that appears to be related to permissions on my machine. I ran again as admin and it worked. Not sure of a solution but perhaps it should be documented that this may occur? Or a more helpful error message like "You may need to link the project as administrator"
Ran command:
The text was updated successfully, but these errors were encountered: