i have a CLR class which uses the Attribute StructLayout attribte: [StructLayout(LayoutKind::Explicit)] public ref class Matrix4 : System::ComponentModel::INotifyPropertyChanged All fields make use of the FieldOffset attribute. Now i need to add an event, in particular i want to implment the INotifyPropertyChanged interface and hence i need the [FieldOffset(16*sizeof(Real))] virtual event [...] read more
When I'm trying serialize a class containing this property: [NonSerialized] property System::Collections::ObjectModel::ReadOnlyCollection<String^>^ IgnoredWords I get a compilation error saying: > fatal error C1093: API call 'DefineCustomAttribute' failed '0x801311c0' How do I tell the serializer that I do not want to serialize this property (and, yes, by default it tries to, [...] read more