Sophal Sun
Sophal Sun

Reputation: 21

ManateeSerializer Missing Method

I am beginning the development , and I would like to play with manatee.trello . I try to just follow : https://devhub.io/repos/gregsdennis-Manatee.Trello

but I got an issue : System Missing Method exception !

My Project dependencies

in Program.cs

using System;
using System.Diagnostics;
using Manatee.Trello;
using Manatee.Trello.Rest;
using Manatee.Trello.ManateeJson;
using Manatee.Trello.WebApi;


ManateeSerializer serializer = new ManateeSerializer();
TrelloConfiguration.Serializer = serializer;
TrelloConfiguration.Deserializer = serializer;
TrelloConfiguration.JsonFactory = new ManateeFactory();
TrelloConfiguration.RestClientProvider = new WebApiClientProvider();
TrelloAuthorization.Default.AppKey = "MyAppKey";
TrelloAuthorization.Default.UserToken = "MyToken";

var board = new Board("1vanGPWi");
Debug.WriteLine(board);

The error during debug (F5)

is it a bug ?

Upvotes: 2

Views: 67

Answers (1)

gregsdennis
gregsdennis

Reputation: 8428

It looks like you're using the latest version of Manatee.Trello. You don't need to do a lot of the setup stuff you have; it's for older versions.

I'm not sure what devhub.io is, but the project is hosted on GitHub, and the documentation is up to date.

Feel free to open an issue on the repo, or I have a Slack workspace you can join if you have any questions.

Upvotes: 1

Related Questions