There is a "public static class HttpConfigurationExtensions" in namespace System.Web.Http in
System.Web.Http.dll (http://aspnetwebstack.codeplex.com/SourceControl/changeset/view/859ceac12949#src%2fSystem.Web.Http%2fHttpConfigurationExtensions.cs)
and in
System.Web.Http.OData.dll
(http://aspnetwebstack.codeplex.com/SourceControl/changeset/view/859ceac12949#src%2fSystem.Web.Http.OData%2fHttpConfigurationExtensions.cs)
The second one uses types from the first one (at least HttpConfiguration) so that you have to reference both dlls. But then you cannot use any method from the second class.
Example fragment:
Public Class MyQueryableAttribute
Inherits Web.Http.QueryableAttribute
Public Overrides Sub OnActionExecuted(actionExecutedContext As Web.Http.Filters.HttpActionExecutedContext)
Dim Request = actionExecutedContext.Request
Dim Configuration As System.Web.Http.HttpConfiguration = Request.GetConfiguration()
Dim Model = System.Web.Http.HttpConfigurationExtensions.GetEdmModel(Configuration)
'error BC30560: 'HttpConfigurationExtensions' is ambiguous in the namespace 'System.Web.Http'.
...
System.Web.Http.dll (http://aspnetwebstack.codeplex.com/SourceControl/changeset/view/859ceac12949#src%2fSystem.Web.Http%2fHttpConfigurationExtensions.cs)
and in
System.Web.Http.OData.dll
(http://aspnetwebstack.codeplex.com/SourceControl/changeset/view/859ceac12949#src%2fSystem.Web.Http.OData%2fHttpConfigurationExtensions.cs)
The second one uses types from the first one (at least HttpConfiguration) so that you have to reference both dlls. But then you cannot use any method from the second class.
Example fragment:
Public Class MyQueryableAttribute
Inherits Web.Http.QueryableAttribute
Public Overrides Sub OnActionExecuted(actionExecutedContext As Web.Http.Filters.HttpActionExecutedContext)
Dim Request = actionExecutedContext.Request
Dim Configuration As System.Web.Http.HttpConfiguration = Request.GetConfiguration()
Dim Model = System.Web.Http.HttpConfigurationExtensions.GetEdmModel(Configuration)
'error BC30560: 'HttpConfigurationExtensions' is ambiguous in the namespace 'System.Web.Http'.
...