Hi, Dave,

 

Do you want to say that ILSpy won't load your assembly.dll, or it won't load 
MSVCR80.dll? The latter one is a native DLL, not an assembly, and thus cannot 
be loaded by ILSpy.

 

I re-read the thread, and my current Guess is that the "AddReference" is unable 
to find your "assembly.dll".

 

Did you specify the assembly name correctly? (Case? Without the ".dll" suffix?)

 

Grüße,

Markus

 

Von: Dave Peterson [mailto:dpeter...@broadwaytechnology.com] 
Gesendet: Mittwoch, 29. Juni 2011 14:32
An: Markus Schaber; ironpython-users@python.org
Betreff: RE: [Ironpython-users] Assembly references: file does not exist?

 

Hi Markus,

 

I am only trying to clr.AddReference() to it because I was advised to try 
pre-loading all the things my assembly referenced.   The MSVCR80.dll is listed 
as a reference by ILSpy.   I'm new to .NET, and don't know if that means I need 
to pre-load it or not.   Definitely if I don't (because I can't seem to find 
out how to do so) then I still get the same error as before when trying to 
clr.AddReference() to my assembly even when all the other listed references are 
pre-loaded.

 

I cannot say that my assembly isn't loading because the MSVCR80.dll isn't 
found.  For all I know the issue is something else.   Definitely, the 
MSVCR80.dll file exists.  A C# app that uses the same assembly I'm trying to 
use runs just fine with no similar assembly loading error -when launched from 
the same command prompt with the same Windows environment.  

 

The issue I'm having is ipy.exe won't load the assembly and I don't know why or 
how to solve it.   See below in the thread for the error messages I've been 
getting and the code I'm running.

 

Your help is greatly appreciated!

 

-- Dave

 

[Context cut to protect the innocent]

 

_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to