Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

The backing type is not a registered PropertyTypeDefinition

$
0
0

Hi,

We use GETA/SEO.Sitemaps in our solution and this works fine for the main solution.

As seen in the example below our SEOSitemaps property uses a BackingType called PropertySEOSitemaps which resides in the GETA package:

[UIHint("SeoSitemap")]
[BackingType(typeof(PropertySEOSitemaps))]
public virtual string SEOSitemaps {get; set; }

This works fine for the main solution, but when we are trying to run our unit tests, we get the error message following during initialization:

'The backing type 'Geta.SEO.Sitemaps.SpecializedProperties.PropertySEOSitemaps' is not a registered PropertyTypeDefinition.

If I recreate the class myself in code and change the backingtype of the property to the "clone" it works fine in both the main solution and tests, but this is obviously not something we want to do.

Have spent quite some hours on this problem but we have found no solution.

Is there a way to manually register this backing type/PropertyTypeDefinition from the GETA package during initialization?


Viewing all articles
Browse latest Browse all 9076

Trending Articles