(re)Deploying a ProjectEventReceiver DLL

H

HorseFly

Hi,

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?

Thanks,

Cindy
 
G

Gary Chefetz

Horsefly:

Not as intuitive as you might think. Stop and restart the Project Server
Queue Service to force the system to pickup the changes. Rebooting works as
well, but I'm sure that you don't want to go there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top