How to load Mongo Assembly in SSIS

Hi Folks,

I’m have an SSIS etl pipeline and I’d like to add a package to move data from one of my SQL tables into a MongoDB. I’ll be using a script task for this.

However, I can’t get the Mongo Assembly loaded. If I use nuget from within the script task, the whole SSIS package crashes and all the dataflow tasks get wiped. Similarly, a handful of online sources show that people have tried to add the mongo drivrs to the GAC… but this doesn’t work either as the assemblies are unsigned.

In another stack thread, somebody tried to load the assembly manually using a path string.

There has to be a better way? Can we have some official help on using Mongo with SSIS scripts?