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

nuget.exe install TargetFramework support #5736

Closed
emgarten opened this issue Aug 10, 2017 · 0 comments · Fixed by NuGet/NuGet.Client#1634
Closed

nuget.exe install TargetFramework support #5736

emgarten opened this issue Aug 10, 2017 · 0 comments · Fixed by NuGet/NuGet.Client#1634
Assignees
Labels
Functionality:Install The install command in VS/nuget.exe Product:NuGet.exe NuGet.exe Type:DCR Design Change Request
Milestone

Comments

@emgarten
Copy link
Member

Add a -Framework parameter to nuget.exe install to be used for selecting dependency groups when talking dependencies.

Currently nuget.exe install uses the Any framework which makes it very difficult to use with packages containing multiple target framework groups.

@emgarten emgarten self-assigned this Aug 10, 2017
@emgarten emgarten added Product:NuGet.exe NuGet.exe Type:DCR Design Change Request Type:Feature labels Aug 10, 2017
@emgarten emgarten added this to the 4.4 milestone Aug 10, 2017
@emgarten emgarten mentioned this issue Aug 10, 2017
9 tasks
@emgarten emgarten added the Functionality:Install The install command in VS/nuget.exe label Aug 11, 2017
emgarten added a commit to NuGet/NuGet.Client that referenced this issue Aug 12, 2017
* Allow updating packages when -ExcludeVersion is used
* Improved detection of already installed packages when -ExcludeVersion is used
* Adding -Framework switch to allow setting the target framework used when resolving dependencies.
* Remove NU1000 code from packages.config restore errors.
* Avoid unneeded downloads when a version is not given and the package is cached.
* Disable parallel for mono
* Display errors and return a non-zero exit when install on packages.config fails
* Remove old files during upgrades with -ExcludeVersion

Fixes NuGet/Home#5743
Fixes NuGet/Home#5737
Fixes NuGet/Home#5736
Fixes NuGet/Home#5741
Fixes NuGet/Home#5017
Fixes NuGet/Home#3957
Fixes NuGet/Home#2405
emgarten added a commit to NuGet/NuGet.Client that referenced this issue Aug 12, 2017
* Allow updating packages when -ExcludeVersion is used
* Improved detection of already installed packages when -ExcludeVersion is used
* Adding -Framework switch to allow setting the target framework used when resolving dependencies.
* Remove NU1000 code from packages.config restore errors.
* Avoid unneeded downloads when a version is not given and the package is cached.
* Disable parallel for mono
* Display errors and return a non-zero exit when install on packages.config fails
* Remove old files during upgrades with -ExcludeVersion

Fixes NuGet/Home#5743
Fixes NuGet/Home#5737
Fixes NuGet/Home#5736
Fixes NuGet/Home#5741
Fixes NuGet/Home#5017
Fixes NuGet/Home#3957
Fixes NuGet/Home#2405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Install The install command in VS/nuget.exe Product:NuGet.exe NuGet.exe Type:DCR Design Change Request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant