'businesslogic' does not exist in namespace 'umbraco.cms'
hey guys im having a issue with my assembly files and get the error 'businesslogic' does not exist in namespace 'umbraco.cms' when i try to combile the project. I have made sure i have included cms.dll, businesslogic.dll and umbraco.dll in the bin folder.
Im trying tro replicate what blog4umbraco is doing with the autopopulate postDate. Below is the code, any idea where im going wrong? thanks
using System; using System.Collections.Generic; using System.Linq; using System.Web;
using umbraco; using umbraco.BusinessLogic; using umbraco.BusinessLogic.console; using umbraco.cms.businesslogic.web;
namespace UmbracoCmsNews { public class NewsCms : umbraco.BusinessLogic.ApplicationBase {
Make sure you reference all of the following dll's:
umbraco.dll
businesslogic.dll
cms.dll
interfaces.dll
ClientDependency.Core.dll
The above mentioned code will not work because you need to wire up the event in the constructor first. Checkout example in a blogpost I wrote to see how that is handled.
Thanks Richard, i added the constructor and it still didnt work. I went through the assembly files and made sure they were referenced and that this worked (cms.dll was not referenced).
'businesslogic' does not exist in namespace 'umbraco.cms'
hey guys im having a issue with my assembly files and get the error 'businesslogic' does not exist in namespace 'umbraco.cms' when i try to combile the project. I have made sure i have included cms.dll, businesslogic.dll and umbraco.dll in the bin folder.
Im trying tro replicate what blog4umbraco is doing with the autopopulate postDate. Below is the code, any idea where im going wrong? thanks
Has anyone got any ideas?
thanks
Hi,
Make sure you reference all of the following dll's:
The above mentioned code will not work because you need to wire up the event in the constructor first. Checkout example in a blogpost I wrote to see how that is handled.
Cheers,
Richard
Thanks Richard, i added the constructor and it still didnt work. I went through the assembly files and made sure they were referenced and that this worked (cms.dll was not referenced).
thanks again
Graeme
is working on a reply...