C# custom script not working after an upgrade

Hello there. 

We have a customer who was on version 8.0 and we recently upgraded them to version 8.5 R16.

I have ticket off for "Enable scripting" in the netserver configuration and also pointed to the folder where C# file resides.
Is there a dependancy I have to put in for it to work ?

The script does a very simple thing: 

public static void BeforeSaveContactEntity(ContactEntity contactEntity, ref object eventState)
           contactEntity.Department = contactEntity.UserDefinedFields["SuperOffice:2:DisplayText"];

Ingen svar endnu!