(re)Deploying a ProjectEventReceiver DLL RRS feed

  • Question

  • User1746715298 posted


    I am integrating with MS Project and I have written a ProjectEventReceiver Class Library.  I deployed it to the server just to see if the OnPublished event worked as I expected.  To deploy I tried two methods - putting in the Global Assembly and XCopy to the ProjectEventReceiverHandlers folder.  I set it up in Project Web Access and it worked great!  

    Next I made some changes to the Class Library.  I built the code, but I can't figure out how to get it to update the .DLL on the Project Server.  It keeps using the first version and not the new one.  I tried copying it over the first .DLL.  I tried removing the .DLL from the assembly and/or deleting it from the ProjectEventReceiverHandlers folder and putting the new one in fresh.  I tried restarting IIS and MS Project.  I tried dumping the Global Assembly Cache. It just keeps using the original version of the DLL.  Does anyone know what steps I need to to take to update this DLL?

    I assume that something somewhere is holding the original version in memory.  Or that I'm not taking the necessary steps to get Project to link to the new version.  (I keep saying new "version" but the 2nd updated DLL has the same version and key as the old version.  So maybe that is the problem?)

    I have searched all over the internet but I can't seem to find information on updating a DLL, only how to deploy it in the first place.  Will someone please give me some direction here? 



    Friday, February 19, 2010 12:38 PM

All replies

  • User1746715298 posted

    I figured it out.  Have to stop the Project Event Service, copy the file, and then Start the Project Event Service.

    Wednesday, February 24, 2010 1:28 PM