'identifier' : no 'put' method is associated with this property
A data member declared with property has no put function, but an expression tries to set its value.
Example
struct A { __declspec(property(get=GetProp)) int prop; int GetProp(void); }; void f(A* pa, int val) { pa->prop = val; // error C2774 pa->prop++; // error C2774 }