Hi,
I am trying to implement Caliburn Micro into a test application and all was going well until I reached a point where you need to decorate a method with an attribute. Here is the website that I am using as a reference :- http://www.mindscapehq.com/blog/index.php/2012/2/1/caliburn-micro-part-4-the-event-aggregator/
The attribute in questions is :- [Export(typeof(AppViewModel))]
The compiler complains with the following
Error 2 (E62) Type mismatch, cannot assign "System.ComponentModel.Composition.Primitives.Export" to "Attribute" E:\[Oxygene]\[Tests]\CaliburnMicroTest\ViewModels\ShellViewModel.pas 13 4 CaliburnMicroTest
Am I doing something wrong or does Oxygene not support decorating methods this way ? If so, then how do I get it to work with Caliburn Micro ?
Regards
Anthoni