Paket.VisualStudio icon indicating copy to clipboard operation
Paket.VisualStudio copied to clipboard

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

Open ruhullahshah opened this issue 8 years ago • 2 comments

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.

ruhullahshah avatar Oct 19 '17 09:10 ruhullahshah

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 ?!

forki avatar Oct 19 '17 09:10 forki

Yup sure :D that would work as well

ruhullahshah avatar Oct 19 '17 09:10 ruhullahshah