jeudi 14 janvier 2021

How to import nuget packages with IronPython

I am new to ironPython and I have created one classLibrary(c# .netStandard 2.1) then I have created a py script with ironpython which imports the class library dll.

Now the classLibrary(c# .netStandard 2.1) has dependency of nuget Package 'EntityFramework' So how should I properly import the class library along with its nugetpackage dependency

for now, I just importing the dll file with following code in py script,

clr.AddReference('myClassLib.dll')

I am getting following error :

AttributeError: Method not found: 'System.Reflection.MethodBase System.Diagnostics.StackFrame.GetMethod()'.

Is there are any files or way which i am missing?





Aucun commentaire:

Enregistrer un commentaire