The NuGet package doesn't configure anything by default (on install) - for the XSLT extensions, they'll need to be manually set in the "config\xsltExtensions.config".
(This is the same with the regular Umbraco package too - but we have a post-install dashboard control that offers to do it for you.)
Slightly off-topic, I have considered making the XSLT extensions to be auto-discoverable, as in using the [XsltExtension()] attribute on the classes, but that would mean that everyone would have all of them by default - which may or may not be desirable.
Yes that's the step I'm missing - is it possible to run the post-install dashboard in some way? nuget installs doesnt appear under packages either, so ..
[XsltExtension()] - I would say yes. But having a post install dashboard is also fine. Or at least a textfile with the rest config ready to copy would mean a lot (uhh maybe its already there .. will look)
My only issue with using the [XsltExtensions()] attribute is that there is no "opt-out" ... meaning that they'd all get loaded into every XSLT macro (which was my bugbear with the EXSLT libraries - I never used them).
As for the dashboard control, yes - add it in your "config/Dashboard.config" like so:
Thanks Jesper! There is definitely room for lots of improvement with the NuGet package - I have no idea how people are using it (so far). Thanks for the feedback.
Nuget install
Hi guys,
Do I need to do anything special to get ucomponents xslt extensions to work when installing. It seems they are not available.
Running Vs2010, umbraco 4.11.1
Jesper
Hi Jesper,
The NuGet package doesn't configure anything by default (on install) - for the XSLT extensions, they'll need to be manually set in the "config\xsltExtensions.config".
(This is the same with the regular Umbraco package too - but we have a post-install dashboard control that offers to do it for you.)
Cheers, Lee.
Slightly off-topic, I have considered making the XSLT extensions to be auto-discoverable, as in using the [XsltExtension()] attribute on the classes, but that would mean that everyone would have all of them by default - which may or may not be desirable.
What do you think?
Cheers, Lee.
Hi Lee,
Yes that's the step I'm missing - is it possible to run the post-install dashboard in some way? nuget installs doesnt appear under packages either, so ..
[XsltExtension()] - I would say yes. But having a post install dashboard is also fine. Or at least a textfile with the rest config ready to copy would mean a lot (uhh maybe its already there .. will look)
best
Jesper
My only issue with using the [XsltExtensions()] attribute is that there is no "opt-out" ... meaning that they'd all get loaded into every XSLT macro (which was my bugbear with the EXSLT libraries - I never used them).
As for the dashboard control, yes - add it in your "config/Dashboard.config" like so:
More info here: http://ucomponents.codeplex.com/wikipage?title=PostInstall
Cheers, Lee.
Cool! thanks Lee. Lovely. Works. Super. Great. Merry Christmas.
Pls. consider adding instructions to the nuget install - maybe just displaying a text file post install.
Jesper
Thanks Jesper! There is definitely room for lots of improvement with the NuGet package - I have no idea how people are using it (so far). Thanks for the feedback.
Cheers, Lee.
is working on a reply...