Building the code

Tumblr# folder structure is as follows:
  • bin - Compiled binaries will end up here
  • lib - Contains Tumblr# dependencies: JSON.NET and Microsoft NET Client Libraries
  • TumblrSharp - Main assembly. Contains code for OAuth, abstractions for Tumblr API methods and the generic client TumblrClientBase
  • TumblrSharp.Client - Contains business entities for Tumblr responses and the fully featured client TumblrClient
  • TumblrSharp.Net45 - Contains implementation of abstractions and factory methods for .NET 4.5 (WPF, ASP.NET, etc.)
  • TumblrSharp.WinRT - Contains implementation of abstractions and factory methods for Windows 8
  • TumblrSharp.WP8 - Contains implementation of abstractions and factory methods for Windows Phone 8

The first solution to build is TumblrSharp.sln, which will build DontPanic.TumblrSharp.dll and DontPanic.TumblrSharp.Client.dll. These assemblies are PCL targeting .NET 4.5, Windows 8 and Windows Phone 8, so you will need Visual Studio 2012 Professional in order to build them.

Once the main assemblies have been built, you can build the extension assembly (or assemblies) required by your project (these can be built using Visual Studio 2012 Express).

Last edited Aug 25, 2013 at 6:52 PM by turboronin, version 6