Created
November 14, 2011 14:59
-
-
Save AlexZeitler/1364110 to your computer and use it in GitHub Desktop.
JsonNetFormatter issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start a project from scratch | |
Install-Package WebApi.All | |
Install-Package WebApiContrib | |
var config = new WebApiConfiguration(); | |
config.Formatters.Clear(); | |
config.Formatters.Add(new JsonNetFormatter()); // doesn't compile here | |
cannot convert from 'WebApiContrib.Formatters.JsonNet.JsonNetFormatter' to 'System.Net.Http.Formatting.MediaTypeFormatter' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment