none
Event receiver OnCreate. Cannot add\deploy the assembly RRS feed

  • Question

  • Hello,

    I have Project Server 2016.

    I developed an event receiver using Microsoft's article How to: Create a Project Server Event Handler and Log an Event

    I was able to build the project and run the command gacutil /i TestCreatingProject.dll  And I received the message "Assembly successfully added to the cache"

    However there is no TestCreatingProject.dll file on Windows\assembly and I cannot get Public Key Token to register the event receiver on the SharePoint Console Administration.

    I created a VS SharePoint 2016 empty project and debug it to create the dll file.

    Could you please advice me what can be wrong?

    Best regards,

    Slava Shamak.

    Saturday, February 8, 2020 1:56 PM

Answers

  • I was able to find my assembly by running the command gacutil /l 

    The event receiver works.

    But the assembly is absent at Windows\Assembly 


    • Edited by Slava Shamak Saturday, February 8, 2020 4:43 PM clarification
    • Marked as answer by Slava Shamak Saturday, February 8, 2020 4:43 PM
    Saturday, February 8, 2020 3:51 PM