Skip to content
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

Project restore breaks using older versions (for instance 4.8.4) of paket.exe #153

Open
ruhullahshah opened this issue Oct 19, 2017 · 2 comments

Comments

@ruhullahshah
Copy link
Contributor

Description

For project restore, the flag --references-file is used which is not supported in older versions and they use --references-files instead. This causes the project wise restore to break.

Suggested solutions

  • Support for project wise restore can be dropped and only global restore would be supported.
  • Add a compatibility layer to work with older version, at which version the change to the --references-file flag was made in Paket
  • Add UI support to let the user choose, "No Auto Restore", "Global Auto Restore". "Auto Restore per Project" instead of the current checkbox in the plugin settings.

It would be nice to get views on the suggested solutions or any other alternate solutions.

@forki
Copy link
Member

forki commented Oct 19, 2017

Add a compatibility layer to work with older version, at which version the change to the --references-file flag was made in Paket

could just be a try / catch ?!

@ruhullahshah
Copy link
Contributor Author

Yup sure :D that would work as well

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

No branches or pull requests

2 participants