[Ironpython-users] Assembly references: file does not exist?
dpeterson at broadwaytechnology.com
Wed Jun 29 16:48:23 CEST 2011
But I'm confused. Doesn't the fact that a C# app loads the assembly just fine mean that the CLR can load it ok? And given that fuslogw is part of VS or Win SDK, I'm thinking it won't help with figuring out why ipy.exe won't. Then again, I can't explain why ipy would be doing anything special to load an assembly either, so it can't hurt to try this tool.
I'll see if I can copy fuslogw.exe over from a dev machine to the machine I'm planning to run ipy scripts on (can't install VS or WinSDK there directly.)
From: ironpython-users-bounces+dpeterson=broadwaytechnology.com at python.org [mailto:ironpython-users-bounces+dpeterson=broadwaytechnology.com at python.org] On Behalf Of Zachary Gramana
Sent: Wednesday, June 29, 2011 2:37 PM
To: ironpython-users at python.org
Subject: Re: [Ironpython-users] Assembly references: file does not exist?
On 6/28/2011 9:25 AM, Dave Peterson wrote:
> I'm relatively new to IronPython and .Net, but reasonably familiar with
> Python. I'm trying to write a .py script to use one of my employer's
> .NET dlls but whenever I try to AddReferenceToFileAndPath() I get an error:
> IOError: System.IO.IOException: file does not exists: D:\path\to\my\dll
> However, the DLL definitely exists at D:\path\to\my\dll and indeed works
> from there using my employer's app.
In the .NET platform, we have a tool called fusionlogw.exe that you can
use to troubleshoot your issue. This utility provides additional
information on why the CLR cannot load an assembly. It's reasonably easy
to use, as well. The official documentation is at
Ironpython-users mailing list
Ironpython-users at python.org
More information about the Ironpython-users