Is it passable add dll reference from installed NuGet package in C# script?
For example I have NuGet which includes MyMathOperation.dll. And this DLL has public class MyOperation.
So how can I add reference and use this class?
#r " ??? MyMathOperation.dll ???"
??? using MyMathOperation; ???
var o = new MyOperation();
Thanks for getting in touch! We have an example of this in the following conversation from a couple of months ago.
There is also a small section on this in the ScriptCS readme on their repository.
Let me know if this helps, or if you have any further questions here.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.