#Summary
When installing packages using the package manager console, the oldest available version of that package is installed. When using either the "Manage NuGet Packages" GUI or nuget.exe at the command line, the latest version is installed.
#Version
* Client: 2.7
* Self-hosted package server website using NuGet.Server 2.7.
#Replication Steps
1. Open VS.
2. Create empty Console Application.
3. Open Package Manager Console.
4. Type `install-package [package ID]` and press ENTER.
#Expected Result
Latest version will be installed.
#Actual Result
Oldest available version from the feed is installed.
#Additional Details
The issue didn't occur with the 2.6 client.
__Output from Output Window for "Manage NuGet Packages (CORRECT)":__
```
------- Installing...MyCompany.Enum 1.20.0.1 -------
Installing 'MyCompany.Enum 1.20.0.1'.
Added file 'MyCompany.Enum.dll' to folder 'MyCompany.Enum.1.20.0.1\lib\net35'.
Added file 'MyCompany.Enum.1.20.0.1.nuspec' to folder 'MyCompany.Enum.1.20.0.1'.
Added file 'MyCompany.Enum.1.20.0.1.nupkg' to folder 'MyCompany.Enum.1.20.0.1'.
Successfully installed 'MyCompany.Enum 1.20.0.1'.
Adding 'MyCompany.Enum 1.20.0.1' to ConsoleApplication1.
Added reference 'MyCompany.Enum' to project 'ConsoleApplication1'
Added file 'packages.config'.
Added file 'packages.config' to project 'ConsoleApplication1'
Successfully added 'MyCompany.Enum 1.20.0.1' to ConsoleApplication1.
==============================
```
__Output from PowerShell console for nuget.exe (CORRECT):__
```
PS C:\temp\nugettemp> nuget list "MyCompany.enum" -source 'local web-based feed' -allversions
MyCompany.Enum 1.0.17842.0
MyCompany.Enum 1.20.0.1
MyCompany.Enum 1.5.0.6
MyCompany.Enum 1.9.34.1
PS C:\temp\nugettemp> nuget install MyCompany.enum -source 'local web-based feed'
Installing 'MyCompany.Enum 1.20.0.1'.
```
__Output from Package Manager Console (INCORRECT):__
```
PM> get-package MyCompany.enum -ListAvailable
Id Version Description/Release Notes
-- ------- -------------------------
MyCompany.Enum 1.20.0.1 A cross-cutting assembly containing enumeration values for all MyCompany standard "decode" table ID values.
PM> install-package MyCompany.enum
Installing 'MyCompany.Enum 1.0.17842.0'.
Successfully installed 'MyCompany.Enum 1.0.17842.0'.
Adding 'MyCompany.Enum 1.0.17842.0' to ConsoleApplication1.
Successfully added 'MyCompany.Enum 1.0.17842.0' to ConsoleApplication1.
```
When installing packages using the package manager console, the oldest available version of that package is installed. When using either the "Manage NuGet Packages" GUI or nuget.exe at the command line, the latest version is installed.
#Version
* Client: 2.7
* Self-hosted package server website using NuGet.Server 2.7.
#Replication Steps
1. Open VS.
2. Create empty Console Application.
3. Open Package Manager Console.
4. Type `install-package [package ID]` and press ENTER.
#Expected Result
Latest version will be installed.
#Actual Result
Oldest available version from the feed is installed.
#Additional Details
The issue didn't occur with the 2.6 client.
__Output from Output Window for "Manage NuGet Packages (CORRECT)":__
```
------- Installing...MyCompany.Enum 1.20.0.1 -------
Installing 'MyCompany.Enum 1.20.0.1'.
Added file 'MyCompany.Enum.dll' to folder 'MyCompany.Enum.1.20.0.1\lib\net35'.
Added file 'MyCompany.Enum.1.20.0.1.nuspec' to folder 'MyCompany.Enum.1.20.0.1'.
Added file 'MyCompany.Enum.1.20.0.1.nupkg' to folder 'MyCompany.Enum.1.20.0.1'.
Successfully installed 'MyCompany.Enum 1.20.0.1'.
Adding 'MyCompany.Enum 1.20.0.1' to ConsoleApplication1.
Added reference 'MyCompany.Enum' to project 'ConsoleApplication1'
Added file 'packages.config'.
Added file 'packages.config' to project 'ConsoleApplication1'
Successfully added 'MyCompany.Enum 1.20.0.1' to ConsoleApplication1.
==============================
```
__Output from PowerShell console for nuget.exe (CORRECT):__
```
PS C:\temp\nugettemp> nuget list "MyCompany.enum" -source 'local web-based feed' -allversions
MyCompany.Enum 1.0.17842.0
MyCompany.Enum 1.20.0.1
MyCompany.Enum 1.5.0.6
MyCompany.Enum 1.9.34.1
PS C:\temp\nugettemp> nuget install MyCompany.enum -source 'local web-based feed'
Installing 'MyCompany.Enum 1.20.0.1'.
```
__Output from Package Manager Console (INCORRECT):__
```
PM> get-package MyCompany.enum -ListAvailable
Id Version Description/Release Notes
-- ------- -------------------------
MyCompany.Enum 1.20.0.1 A cross-cutting assembly containing enumeration values for all MyCompany standard "decode" table ID values.
PM> install-package MyCompany.enum
Installing 'MyCompany.Enum 1.0.17842.0'.
Successfully installed 'MyCompany.Enum 1.0.17842.0'.
Adding 'MyCompany.Enum 1.0.17842.0' to ConsoleApplication1.
Successfully added 'MyCompany.Enum 1.0.17842.0' to ConsoleApplication1.
```