Skip to content

nugetrestore only pass packagesDirectory when defined #22

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

RobinHerbots
Copy link

@SomaticIT,
When using package restore on a solution (.sln) you do not really specify a directory for the packages.

But when I leave the dest out, it gives an error because the -PackagesDirectory option is passed anyway, which gives an error.

Missing option value for: '-PackagesDirectory

Skipping the option in that cases fixes the issue.

@RobinHerbots
Copy link
Author

@SomaticIT,

Will there be any future updates on this project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant