In our solution we have several Custom Properties that work as expected. But when I add a new one and apply it to a page template, I get an error in edit mode:
Error: Can't load property type '(Namespace).CustomPropertiers.MyCustomProperty (NameSpace).Templates'
This error appears as a JS alert when trying to expand the page tree in which the property is used. Everything works when I remove my custom property (or replace it with another).
I have made several attempts in creating the property with different approaches:
Ps: this might be discussed earlier, but I was unable to find any similar posts.
Forgot to mention: when this error occurs, I am unable to open the pages whatsoever. I get this exception:
[EPiServerException: Can't load property type '(nnnnn).CustomProperties.MyCustomProperty.MyCustomProperty, (nnnnn).Templates'] EPiServer.Core.PropertyData.CreatePropertyDataObject(String assemblyName, String typeName) +633 EPiServer.DataAbstraction.PageDefinition.CreatePropertyData() +31 EPiServer.Core.PropertyDataCollectionFacade.EnsureAllPageTypeProperties(String languageBranch, PropertyDataCollection props) +481 EPiServer.Core.PropertyDataCollectionFacade.InitializeData(Boolean clearCommonProperties) +191 EPiServer.Core.PageDataFacade.InitializeData() +45
Ahem, this was a configuration error where Cruise Control failed to include the CP in build.