Skip to content

Incorrect WebAPI assembly #4

@UncleTom

Description

@UncleTom

Hi remogloor

I think there may be a assembly issue on the WebAPI project, when I get the latest dll from nuget, i always throw exception on below code:
this.Bind().ToConstant(new DefaultFilterProvider(this.Kernel, GlobalConfiguration.Configuration.Services.GetFilterProviders()));

the reason i found is current version assembly referenced the old dll which is (Microsoft.AspNet.WebApi.Core.4.0.20505.0), there is no Services property.

when i changed the newest dll(Microsoft.AspNet.WebApi.Core.4.0.20710.0), there will be ok.

Could you check it whether my finding is correct?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions