The problem is the same for both: VS 2013and VS 2015(c ommunity edition).
Although I installed Microsoft.AspNet.Odatathrough nuget, every time I added a new controller, it installedMicrosoft.AspNet.WebApi.Odata
Then I have to go back to the namespaces below each time.
Is there a way to solve this dependency problem?
Additional Information:
Microsoft.AspNet.Odataapplies to: OData v4.0
Microsoft.AspNet.WebApi.Odatarefers to:OData v1-3
Namespaces for Microsoft.AspNet.WebApi.Odata:
using System.Web.Http.OData;
using System.Web.Http.OData.Routing;
and
using System.Web.OData;
using System.Web.OData.Routing;
source
share