, Matthew (NIH/CIT) [C]
Sent: Thursday, May 27, 2010 1:10 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Internal Assembly Dependency
In response to Lukas:
I copied all of the assemblies, along with the script, to one folder. I
attempted to add a reference to MathNet.Iridium and
hines.
Thanks for all the help everyone
Matt Bakalar
From: Curt Hagenlocher [mailto:c...@hagenlocher.org]
Sent: Thursday, May 27, 2010 5:02 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Internal Assembly Dependency
Is it possible that the assembly has been compiled targeting specifically x86
bly manager loaded from:
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
>
> Running under executable
> C:\Users\bakalarmh\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Microsoft\IronPython
> Tools for Visual Studio\0.2\RemoteScriptFactory.exe
>
> --- A
sion of IronPython
Subject: Re: [IronPython] Internal Assembly Dependency
The bug at http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26793
suggests you might have success with clr.LoadAssemblyFromFile. Otherwise, you
might be able to use the Fusion log viewer
(http://msdn.microsoft.co
s
> particular assembly, but I cannot decode the error message. Have you ever
> seen this trace before?
>
>
>
> In Response to David:
>
> I tried the solution you suggested with no luck. The error message I
> receive is the same. I suspect that the hint I've provided
..@bakalari.cz]
Sent: Thursday, May 27, 2010 2:48 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Internal Assembly Dependency
Bakalar, Matthew (NIH/CIT) [C] wrote:
Hello All,
I am new to IronPython, relatively new to C#, and new to this list. I have a C#
assembly that I am attempting
Bakalar, Matthew (NIH/CIT) [C] wrote:
Hello All,
I am new to IronPython, relatively new to C#, and new to this list. I
have a C# assembly that I am attempting to access from IronPython. I
am able to load the assembly using:
clr.AddReferenceToFileAndPath(mypath)
without any problems. I can
I had a similar problem when using ctypes to access a Windows .dll. Before
calling the method that relies on the MathNet.Iridium assembly, try setting
the current working directory to the folder containing your 1st assembly
(the one you reference directly).
clr.AddReferenceToFileAndPath(mypath)
im
Hello All,
I am new to IronPython, relatively new to C#, and new to this list. I have a C#
assembly that I am attempting to access from IronPython. I am able to load the
assembly using:
clr.AddReferenceToFileAndPath(mypath)
without any problems. I can then import the classes that reside within my