Add native .NET assembly reference to Component (eg. System.Net)


#1

I can reference external DLLs, but what to do if I need to use standard .Net libraries like System.Net.Sockets others that are not listed by default? (In a scripted component, c#)


(David Rutten) #2

It’s a bit of a pain, but you’ll have to find where on the system those dlls are located. The .NET framework stuff tends to be in the same place, but you’ll have to pick the right version to work with.


#3

thanks! found it… not so nice for distribution, but works for now

In case anyone has the same problem:


(Giulio Piacentino) #4

An alternative would be to create a compiled component with that DLL referenced. Then you’d have to distribute the add-in, but users would not have to find that file on their machine.