hi, You mean - you went from v.1.13 not from 2.13
There is a very major difference between v.1.x and v.2.x... but with some changes I have just deactivated the reference caching.
The solution below is more a hack, than a real solution but it should work for complex objects not referencing themself.
Delete _propertyCache from the class PropertyFactory
Delete the following text from the PropertyFactory.CreateProperty()
- // Search in Cache
- ReferenceTargetProperty cachedTarget;
- if (_propertyCache.TryGetValue(value, out cachedTarget))
- // Value was already referenced
- // Its reference will be used
- return referenceTarget;
- // Target was not found in cache
- // it must be created
- // Adding property to cache
and any usings of _propertyCache
From the RootContainer and HelloWorld delete all complex objects referencing itself (or make your own helloworld)
The above changes should deactivate reference caching and maybe could help you further.