Trello.NET icon indicating copy to clipboard operation
Trello.NET copied to clipboard

Install package in Windows Phone solution

Open gsferreira opened this issue 12 years ago • 8 comments

Has anyone installed the Nuget package successively in a WP 7.1 solution? Is it possible?

Thanks

gsferreira avatar Feb 11 '13 18:02 gsferreira

No effort has been put in to get it to work on WP, so if it does it's just "luck".

Did you try? What happened?

dillenmeister avatar Feb 19 '13 14:02 dillenmeister

The RestSharp implementation for Portable Class Libraries doesn't support synchronous requests like this: var response = Execute<T>(request);

gsferreira avatar Feb 19 '13 15:02 gsferreira

Do the methods on Trello.Async work?

dillenmeister avatar Feb 19 '13 16:02 dillenmeister

Yes. Portable RestSharp doesn't implement Execute but ExecuteAsync is there.

gsferreira avatar Feb 19 '13 16:02 gsferreira

Ok, so you can use Trello.NET in a WP project then?

dillenmeister avatar Feb 19 '13 16:02 dillenmeister

No, because you can't compile it for a Portable version. because in trello.net we have Execute that does not exists in restsharp Portable

gsferreira avatar Feb 19 '13 16:02 gsferreira

Do you have any ideas how to make Trello.NET work on WP? What alternatives are there?

dillenmeister avatar Feb 21 '13 13:02 dillenmeister

@dillenmeister I've made a fork of Trello.NET to make it compatible with Portable Libraries. You can see here https://github.com/gsferreira/Trello.NET the changes that I've made. I didn't test every methods. You can also take a look into RestSharp repository to get some inspiration https://github.com/restsharp/RestSharp

gsferreira avatar Feb 26 '13 23:02 gsferreira