Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Closed Issue: Update-package Foo no longer works to update all projects [3043]

$
0
0
Trying to update all packages in a solution no longer functions. However using a specific -project target it succeeds. It also succeeds if I specifically use install and a project.

Update all
```
C:\Projects\FooPM> update-package System.ExtensionMethod
update-package : 'System.ExtensionMethod' was not installed in any project. Update failed.
At line:1 char:1
+ update-package System.ExtensionMethod
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Update-Package], PackageNotInstalledException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.UpdatePackageCommand
```

Update -project
```
C:\Projects\FooPM> update-package System.ExtensionMethod -project Services
Updating 'System.ExtensionMethod' from version '2.3.0' to '2.3.1' in project 'Services'.
Removing 'System.ExtensionMethod 2.3.0' from Services.
Successfully removed 'System.ExtensionMethod 2.3.0' from Services.
Adding 'System.ExtensionMethod 2.3.1' to Services.
Successfully added 'System.ExtensionMethod 2.3.1' to Services.
```
Install
```
C:\Projects\FooPM> install-package System.ExtensionMethod
'System.ExtensionMethod 2.3.1' already installed.
Removing 'System.ExtensionMethod 2.3.0' from Domain.
Successfully removed 'System.ExtensionMethod 2.3.0' from Domain.
Adding 'System.ExtensionMethod 2.3.1' to Domain.
Successfully added 'System.ExtensionMethod 2.3.1' to Domain.
```
Comments: No repro

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>