Antaris / RazorEngine

Open source templating engine based on Microsoft's Razor parsing engine
http://antaris.github.io/RazorEngine
Other
2.14k stars 577 forks source link

How to add Nustache to Xamarin project? I've got problem with targetFramework... #349

Open demylia opened 8 years ago

demylia commented 8 years ago

Added file 'LICENSE.md' to folder 'RazorEngine.3.7.6'. Added file 'RazorEngine.3.7.6.nupkg' to folder 'RazorEngine.3.7.6'. Successfully installed 'RazorEngine 3.7.6'. Adding 'RazorEngine 3.7.6' to testFrameworcTarget. Could not install package 'RazorEngine 3.7.6'. 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.

matthid commented 8 years ago

We don't compile the project for any portable profiles currently. So this is not possible right now.

demylia commented 8 years ago

What a pity. What can you offer to do?

matthid commented 8 years ago

I think I looked into this before, the main problem currently is that MS-Razor-3 has no portable build (which is a dependency from RazorEngine). So we can only make a build which depends on Razor-4 which (AFAIK) has a portable build, however we are not fully compatible with Razor4 jet (the RazorEngine-4-beta releases still use Razor-4-beta builds).

So fixing this would be a multiple step process:

I can offer to support (for example on gitter), setup the portable build (including a /define:Portable and FAKE integration), review, merge the changes and finally release the package. So basically If you like to contribute I can help with the infrastructural stuff such that you only need to write code (fix compiler errors / disable features) in Visual-Studio.

matthid commented 8 years ago

Related: https://github.com/Antaris/RazorEngine/issues/322

demylia commented 8 years ago

matthid, I don't have any experience with this task, how many time does it take care of and where from should I start?