Skip to content

Experiencing type incompatible error when we add ProtoBufFormatter to HttpConfiguration Formatters #6

Open
@vdhubala

Description

@vdhubala

HttpConfiguration.Formatters.Insert(0, new ProtoBufFormatter());
(OR)
HttpConfiguration.Formatters.Add(new ProtoBufFormatter());

Exception: Attempted to access an element as a type incompatible with the array.
.NET Frame work: 4.5
WebApi Package: Microsoft.Owin - 3.0.1, System.Net.Http.Formatting- 5.2.3,
Visual Studio - Ultimate 2013,
Name of the Nuget package for Protobuf: WebApiContrib.Formatting.ProtoBuf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions