AI OnAI Off
Look at the code from the Get.SEO.Sitemaps initialization module on how to manually register the PropertySEOSitemaps property in your unit test class initialization
https://github.com/Geta/SEO.Sitemaps/blob/master/src/Geta.SEO.Sitemaps/SitemapInitialization.cs
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:
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:
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?