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
When dealing with solutions with many projects (not F# solutions :-)), and you want to install a package to only a single project it can be annoying to go through all the projects using the interactive option with paket add.
So how about an option to add the package to a specified project? Similar to the -ProjectName parameter in the Install-Package nuget cmdlet. Something like this perhaps:
paket add nuget SomePackage project MyProject
Is this desirable, and is the above syntax the correct style? I based it on the 'version' option of paket update.
Activity
isaacabraham commentedon Feb 7, 2015
linked to #352
forki commentedon Feb 8, 2015
Sounds good.
On Feb 7, 2015 10:54 PM, "Isaac Abraham" [email protected] wrote:
ascjones commentedon Feb 8, 2015
Ah thanks @isaacabraham - didn't know about that way of doing it. Now I read the docs for
paket installproperly it does mention that behaviour.So is it still worth adding the command line 'project' option I've done, or not?
I suppose the benefit would be just running one command
addinstead ofadd; editpaket.references; theninstall.If so I will just test it properly before sending a PR.
isaacabraham commentedon Feb 8, 2015
I think an add command would be a good feature - particularly if you already have a package and want to add it to (or remove from) a project.
From: Andrew Jonesmailto:[email protected]
Sent: 08/02/2015 12:13
To: fsprojects/Paketmailto:[email protected]
Cc: Isaac Abrahammailto:[email protected]
Subject: Re: [Paket] Add package to specified project (#583)
Ah thanks @isaacabraham - didn't know about that way of doing it. Now I read the docs for
paket installproperly it does mention that behaviour.So is it still worth adding the command line 'project' option I've done, or not?
I suppose the benefit would be just running one command
addinstead ofadd; editpaket.references; theninstall.If so I will just test it properly before sending a PR.
Reply to this email directly or view it on GitHub:
#583 (comment)