Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Constructor 4/24/2009 11:25 PM (edited 4/25/2009 12:01 AM)
In the 'Installation.aspx.cs' file (around line 275 depending on version) there is:

this._siteService.CreateSite(site, .... etc...

When I reference the siteservice from the module I am working on, there are a few methods missing. One of them is 'CreateSite'.

I have also noticed that a few properties (public) are missing when I use them in the context of the module I am working on. For instance 'defaultTemplate' has one called 'Site' (as in): defaultTemplate.Site = site;

This is visible in the 'Installation.aspx.cs' but not from inside my module. This is puzzling me.

I am writing a module with a series of sites that can be installed from it. The Template object 'defaultTemplate' does not have a 'Site' visible from my module, but from the 'Installation.aspx.cs' file it is visible. There are a few other instances of this too.

'Cuyahoga.Core.Domain.Role' does not contain a definition for 'HasRight' also flags up on build.

Anyone know why?
Anyone clarify this for me?
# martijnb 4/25/2009 10:38 AM
It seems like you're using the Cuyahoga trunk version, but have a reference to a different Cuyahoga.Core assembly in your module.
# Constructor 4/25/2009 11:53 AM
DOH! :$

Thanks, all fixed.