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
It's not easy to change what projects reference any given dependency. You should be able to manually add a dependency to a given .references file and then call some sort of refresh command which will scan through all .references files and ensure that they match the project. The current approach of install --hard also reapplies existing packages. For packages like the SqlClient Type Provider this is annoying because it adds some default folders and files every time.
Alternatively, have the ability to do something like:
paket add nuget MyPackage MyProject.fsproj // adds MyPackage to the .references file of MyProject and applies it.
paket remove nuget MyPackage MyProject.fsproj // removes MyPackage
with paket 0.20 you can just edit the references file (even add completely new packages) and run paket install - it will add new packages to the dependencies file and the lock file.
Activity
DamianReeves commentedon Nov 18, 2014
+1 I totally agree with this.
forki commentedon Dec 30, 2014
with paket 0.20 you can just edit the references file (even add completely new packages) and run
paket install- it will add new packages to the dependencies file and the lock file.