I've recently come across NLua and I am interested in using it to run Lua scripts that interact with my C# classes and vice-versa. In my case, I don't need my Lua scripts to interact with any platform-specific code, just some C# classes in a PCL. So I looked up NLua in NuGet in the hopes of adding it to my PCL and found the NLua (Safe) package, which seems like the right choice since it says "This package is pure IL (pure C#) version of NLua...". When I try to add the package to my PCL project I get the following error:
Adding 'NLua_Safe 18.104.22.168' to Core.
Could not install package 'NLua_Safe 22.214.171.124'. You are trying to install this package into a project that targets 'portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Am I doing something wrong? Is it not possible to add NLua to a PCL? I am running the latest stable Xamarin Studio (version 5.7).