Question: how to add a dll reference in ssis script task?
Answer: open SSIS Script Task Editor. Add reference to Custom .net Assembly which we copied in the above step. To add reference you have to browse dll which you want to use (e.g. c:\Program Files\Microsoft SQL Server\{version}\SDK\Assemblies\yourassembly.dll ) Hit OK and Save.