-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add Nustache to Xamarin project? I've got problem with targetFramework... #106
Comments
Hi there, Sorry for the delay in replying. Nustache doesn't have a mono build unfortunately and I'm currently only bug-fixing issues and taking pull requests on this project. I've moved to developing my own Mustache templating engine called Stubble. If you'd like to open an issue in that repo, I know that it builds using Mono and i'd be happy to work with you to get the nuget package to install correctly in a Xamarin project. Thanks, |
Romanx, I've just copied all classes to my project and it works now. But I've got a new problem: |
Hey, If you could provide a reproduction case I could take a look. As i mentioned above i'm not really working on this as i'm improving functionality on my separate library. I've added explicit code for Json.Net in that library here. A reproduction case would be useful as i could see how much work getting this working would be for you, Cheers |
Romanx, thanks a lot for your cool job! I've just added all needed classes to my project and now it works well. By now I would like to know how to make a package for Portable Class Library in Xamarin, how to do it (maybe I can find out it using google, I didn't see it yet) |
Nuget not working with the same error you get with Nustache? |
Nuget even don't see your package "Stubble", anyway I think that the error will be the same |
It's slightly confusing sorry. I split them out quite widely.
If you'd like to try including them from nuget, i'm not sure if they'd work as i've not tested the scenario although all my tests do run under mono. Either way a reproduction case would be excellent so I can try help with your issue. |
Hi Romanx, the Stubble library works correct with JObject. Now, I would want to add the SDWebImage library to my project to cache the images. And what I want to do is add some code to your class from this lib which let me to change global references on images to local (if the cache have these images ). Only after that invoke the Render method. 1) Can you tell me in which class you iterate inside of the collection in JObject. 2) Can you add me to your skype: demylia |
Hi @demylia Since this is now more a Stubble issue than a Nustache one could you open a ticket over there and i'll try help you, thanks. |
ok, I agree with you |
In Package console, I see next:
Adding Nustache...
Adding 'Nustache 1.15.3.7' to testFrameworcTarget.
Could not install package 'Nustache 1.15.3.7'. You are trying to install this package into a project that targets 'portable-net40+sl50+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
The text was updated successfully, but these errors were encountered: