Hi there.
I have a feature at 'site' scope, with an event receiver attached. In the FeatureActivated event, I am writing some events to the event viewer and creating a timer job. I have packaged up my .wsp, added and deployed from powershell, and activated the feature on a given site collection from powershell also. I needed to make some changes to the events that were written so in the first instance I deactivated the feature, removed and uninstalled the solution and redeployed.
After activating the feature again the original events were being written to the event viewer, i.e. it was still using the original assembly / method.
I have tried uninstalling / installing from the GAC, iisreset, resetting the owstimer service, cleaning out temporary ASP.NET files, using update-spsolution, everything bar resetting the server which is not an option as it is live. No matter what I change in the code, it still uses some sort of cached version from the first time I deployed the solution.
Can anyone figure out what I'm doing wrong or how it would cache an old version like this? Am I doing things in the wrong order?
Many thanks,
Mike.