Looks like we regressed the dependencies information on the Microsoft.AspNet.WebAPI.OwinSelfhost meta package. This is the package users use for Owin selfhost scenario.
In __Web API 2 (or 5.0)__ release:
```
Dependencies
Microsoft.AspNet.WebApi.Owin (≥ 5.0.0)
Microsoft.Owin.Hosting (≥ 2.0.0)
Microsoft.Owin.Host.HttpListener (≥ 2.0.0)
```
In __Web API 2.1 (or 5.1)__ release(__Note__: 'Microsoft.AspNet.WebApi.Owin' does not have version caps):
```
Dependencies
Microsoft.AspNet.WebApi.Owin
Microsoft.Owin.Hosting (≥ 2.0.2)
Microsoft.Owin.Host.HttpListener (≥ 2.0.2)
```
__Scenario__:
- Create a console app with 5.0 version of OwinSelfhost nuget package. This brings in all necessary dependencies. Make sure to use package manager console and explicitly specify the -version in it.
- Update the OwinSelfHost package to 5.1.0.0
Expected: OwinSelfhost and other webapi dependencies should be updated to 5.1
Actual: Only the OwinSelfhost package is updated to 5.1
Comments: Verified.
In __Web API 2 (or 5.0)__ release:
```
Dependencies
Microsoft.AspNet.WebApi.Owin (≥ 5.0.0)
Microsoft.Owin.Hosting (≥ 2.0.0)
Microsoft.Owin.Host.HttpListener (≥ 2.0.0)
```
In __Web API 2.1 (or 5.1)__ release(__Note__: 'Microsoft.AspNet.WebApi.Owin' does not have version caps):
```
Dependencies
Microsoft.AspNet.WebApi.Owin
Microsoft.Owin.Hosting (≥ 2.0.2)
Microsoft.Owin.Host.HttpListener (≥ 2.0.2)
```
__Scenario__:
- Create a console app with 5.0 version of OwinSelfhost nuget package. This brings in all necessary dependencies. Make sure to use package manager console and explicitly specify the -version in it.
- Update the OwinSelfHost package to 5.1.0.0
Expected: OwinSelfhost and other webapi dependencies should be updated to 5.1
Actual: Only the OwinSelfhost package is updated to 5.1
Comments: Verified.