Hello Everyone :),
I’m trying to build a VRNews Application using Unity 5. The final App Should run under Android and I want to acces NY Times API with a RESTRequest to get my news. I found RestSharp in the normal NuGet Packet Manager but if i try to install it I get the following error message:
“Error Could not install package ‘RestSharp 105.2.3’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v3.5,Profile=Unity Subset v3.5’, 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.”
But there is a Version for Unity3D ( GitHub - Cratesmith/RestSharp-for-unity3d: Simple REST and HTTP API Client for .NET (with compression removed) ), but I have no idea how I should include it into my project. The folder contains several .sln Files, the overall structure is as follows:
I’d like to include a version that works for debugging on my pc and the android version, could you help me on how to include this RestSharp Version into Unity? I also noticed that it is quiet dated, I hope it’s even possible to include it into Unity 5.
Thank you very much,
Max