It definitely sounds like you're missing DLL's. This could be caused by DLLs being deleted after installation if you rebuild the project in Visual Studio.
If you've installed it via Umbraco package, make sure you reference the dlls and possibly move them out of the bin.
If you installed via Nuget, I've uploaded an update that might be worth trying.
You can run: install-package uCondition or update-package uCondition
If you are using Conditional Access, run install-package uCondition or update-package uCondition.ConditionalAccess
I hope that helps. If you have any more issues, please let me know.
I have installed the package via Nuget, first the uCondition package and then the uCondition.Core, but it just checked that the Core was already installed, and I have these references in my project :
Thanks for the clarification, I think it's due to my build targets in Nuget.
I'll need to set up a build for different .Net targets, because VS 2012/2013 is doesn't include them as they were built with 2015. I'll sort a fix for that :)
404 Error
after installing uConditon i get the 404 errors that relate to uCondition api. the below image show one of the errors
Hello.
I have the same error. And another 404 error when I try to use uCondition :
/umbraco/backoffice/Api/uConditionApi/GetPredicates
An issue with the route ?
Does it work with SQLCE Database ?
Hi Shaking and Mohammed,
Can you confirm what DLLs you have in the bin folder?
Something like uCondition.*.DLL
Thanks!
Hopefully should be an easy fix! I can send you all the DLLs you need.
Craig
It does work with SQL CE. I think it's to do with missing DLLs
Hey all,
Can you make sure the ucondition.core nuget package is installed?
Hi,
It definitely sounds like you're missing DLL's. This could be caused by DLLs being deleted after installation if you rebuild the project in Visual Studio.
If you've installed it via Umbraco package, make sure you reference the dlls and possibly move them out of the bin.
If you installed via Nuget, I've uploaded an update that might be worth trying.
You can run: install-package uCondition or update-package uCondition
If you are using Conditional Access, run install-package uCondition or update-package uCondition.ConditionalAccess
I hope that helps. If you have any more issues, please let me know.
Thanks for reporting this to me :-)
Craig
Hi all,
One last thing, if you can let me know how you installed it, I'll see what I can do to prevent this happening in the future :-)
Thanks!
Craig
Hello Craig.
Thank you for this quick reply.
I have installed the package via Nuget, first the uCondition package and then the uCondition.Core, but it just checked that the Core was already installed, and I have these references in my project :
uCondition.Core *.Core.Interfaces *.Core.Models *.Core.ExpressionEngine *.Interface *.Licencing *.Models
and the same .DLL files physically in the bin folder.
Hi Mohammed
What version of Umbraco are you running?
Also in the packages.config in your project, can you tell me what versions of each are installed?
Thanks :-)
I'm running the Umbraco 7.5.10 version.
For the uCondition version :
uCondition : 1.03
uCondition.Core : 1.02
Thank you for that. I'll review this later with the same version and try to replicate it.
In the mean time, are you developing in Visual Studio 2015?
Thanks
Craig
No, with VS2012 and VS2013.
hi craig. the problem was about dll.
i copy them to bin folder and it worked. thanks for the answer
but i think there should be some pre defined predicate.
but there is no predicate in my case
Hi,
Thanks for the clarification, I think it's due to my build targets in Nuget.
I'll need to set up a build for different .Net targets, because VS 2012/2013 is doesn't include them as they were built with 2015. I'll sort a fix for that :)
Out of the box I do not include any predefined predicates because everybody's needs will be different. However (!) You can download some member predicates I've set up here: https://our.umbraco.org/projects/developer-tools/ucondition-member-predicates/
If you have any questions on building custom ones let me know :)
Craig
that's weird
https://our.umbraco.org/projects/developer-tools/ucondition-member-predicates/
after going to this link and hit the download button the logo.png will be downloaded :|
no package file
I noticed that too a couple of days ago :).
hey all!
my mistake! ive uploaded it. Code is also available on github for inspiration for your own!
thanks for letting me know! :)
Craig
is working on a reply...