This is an odd one, well it could be simple but right now i am stumped.
I have an WebshopEvents_OrderLineAdded(Order order, OrderLine orderLine) event which is being called, but not working. On further investigation and some tinkering with the debug it seems that I have conflicting information about the OrderLineProperty constructor.
To compile the code I have options of the following overloads (alias, value), (alias, value, serverSideOnly) and (alias, value, serverSideOnly, isReadOnly).
But as soon as an order line item is added to the basket and the code is "excited", errors are thrown complaining about the invalid arguments. I comment the line out and get the debugger to stop in the Event, open up the intermediate window and find that the contructor should be (string, string, int?) and using that i can add properties from the intermediate window.
I replaced the dlls I had with ones from 1.4.4.1 but no better.
It could be a non teacommerce problem, but I just don't understand why the signatures whilst compiling is different from running. :/