none
Cant Override OnPublished Method RRS feed

  • Question

  • Hi,

    Im trying to override the OnPublished method but im getting this message:

    'TestEventHandler.MyEventHandler.OnPublishing(Microsoft.Office.Project.Server.Library.PSContextInfo, Microsoft.Office.Project.Server.Events.ProjectPrePublishEventArgs)': no suitable method found to override

    Can anyone help me?

    Thanks
    Friday, January 22, 2010 11:11 AM

Answers

  • Filipe,

    Off the top of my head:

    • Is your MyEventHandler class correctly derived from the ProjectEventReceiver base class?
    • Are you missing an assembly reference or using directive?

    Regards,
    Steve


    Stephen Sanderlin, Project MVP -- MSProjectExperts
    Friday, January 22, 2010 11:57 PM
    Moderator