I have developed two project for my custom event receiver for sharepoint 2007.
1) Project: by inheriting SPEventItemReceiver Class, Override ItemAdding and ItemUpdating Event.
-- Here I have signed this dll and copy that dll in GAC of Sharepoint Server.
-- Then, Reset the IIS server of Sharepoint Server.
2) Project: Console Application to Register this Custom Event Receiver Project.
But Here is an issue.
This Second Project (Console Application) is at my local system. While Signed First Project dll, I have added in GAC. without register that dll from my second application i might not take in action.
So, Can anyone guide me how do i use second project which has following code snippet like....
SPSite currentSite = new SPSite("http://XXXXXXX:0000/XXXX/XXXXXX/");
SPWeb currentweb = currentSite.OpenWeb();
SPList currentlist = currentweb.Lists["My Todo"];
View Complete Post