Tuesday, September 30, 2014

sharepoint deploy operation is not valid due to the current state of the object

I was getting this error while deploying solution when I added an event receiver for ItemAdded event for document libraries. It disappears after removing the elements.xml file from event receiver schema.

No comments:

Regex Email validation in c# dot net core

 Use this regex /^_?[a-zA-Z0-9]([a-zA-Z0-9]*[._+-])*[a-zA-Z0-9_]+@(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.(?!-)[A-Za-z0-9-]{1,63}(?<!-))*\.[A-...