when i test my plugin using plugin registration tool 2013 and visual studio 2013
i get this error in this line :
_opportunity = service.Retrieve("opportunity", context.PrimaryEntityId, new ColumnSet(true));
Error :An event was requested after the recorded event queue has been completed.
how to fix that ?