Steps to reproduce:
1. Create solution and add package from local repository (UNC path)
2. Enable package restore on that solution
3. Open "packages" folder and remove all directories in there (only repositories.config file should remain)
4. Now execute: "nuget update test.sln -source \\comp1\nugetrepository"
Result (console output):
```
Scanning for projects...
Found 1 project with a packages.config file. (Package1)
Looking for installed packages in 'packages'.
Updating 'Test'...
```
Expected:
All versions inside packages.config and related .proj file should be changed to latest even if there are no packages restored in "packages" directory.
Comments: "Install and update" not working if there are packages referenced with an older version that no longer exist in repository. So if I delete package "Package.1.0.0.0" and push "Package.1.0.1.0" then I will unable to restore the project properly and I can not update it either.
1. Create solution and add package from local repository (UNC path)
2. Enable package restore on that solution
3. Open "packages" folder and remove all directories in there (only repositories.config file should remain)
4. Now execute: "nuget update test.sln -source \\comp1\nugetrepository"
Result (console output):
```
Scanning for projects...
Found 1 project with a packages.config file. (Package1)
Looking for installed packages in 'packages'.
Updating 'Test'...
```
Expected:
All versions inside packages.config and related .proj file should be changed to latest even if there are no packages restored in "packages" directory.
Comments: "Install and update" not working if there are packages referenced with an older version that no longer exist in repository. So if I delete package "Package.1.0.0.0" and push "Package.1.0.1.0" then I will unable to restore the project properly and I can not update it either.