How to use Nuget packages in PDM add-in?

I would like to use some third party nuget packages within my PDM add-in.  However, when I debug the app it crashes once it hits the code that would call methods in the third party packages.

Any idea on how to get this working?

SolidworksApi macros