Mårten Ekblad
Mårten Ekblad

Reputation: 11

Is Nlog supported on Monotouch and Mono for Android?

Is it possible to use NLog on MonoTouch and Mono for Android?

Upvotes: 1

Views: 587

Answers (1)

jonathanpeppers
jonathanpeppers

Reputation: 26495

Generally the easiest way is to just try it. Usually it takes very little to port a project to MonoTouch/Mono for Android. I have done this with other libraries like JSON.Net, TinyIoC, etc.

I would recommend to download the source, add everything to a new MonoTouch/Mono for Android project, and set the #if SILVERLIGHT preprocessor directive in your project if they use it. After that, it's just a matter of seeing what compiles.

Most common things I find to fix are missing RegexOptions or stuff in Linq Expressions, but all have easy replacements.

Upvotes: 3

Related Questions