This question already has an answer here:
- Farm scope Event Receiver 1 answer
I have created an
ItemAdded event receiver that is supposed to process new documents/files after they've been added to any document library in the farm - i.e., I'd like the event receiver to automatically monitor all document libraries across the farm, both already existing and those that will be created in the future.
The problem is, if I set the event receiver feature scope to "Farm", I get an error in VS2010 when I try to deploy:
The Project Item cannot be deployed through a Feature with Farm scope.
How can I deploy event receiver for the entire farm, if possible at all? (Because if it isn't possible, that pretty much renders the entire concept of event receivers useless to me...).