[Python.NET] System.IO.FileNotFoundException: Unable to find assembly 'MbtCom.dll'.

Tribble, Brett btribble at ea.com
Tue Apr 14 05:20:30 CEST 2009


1.       Is it a managed assembly or an unmanaged .dll?

2.       If it is a managed assembly, is it registered in the GAC?

See: http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=713

also try:

clr.AddReference('nameOfAssembly'). Note that you do not need to include '.dll' This assumes the assembly is in the system path which can be accomplished using  sys.path.insert(0, 'mypath')



From: pythondotnet-bounces+btribble=maxis.com at python.org [mailto:pythondotnet-bounces+btribble=maxis.com at python.org] On Behalf Of kfadnis
Sent: Monday, April 13, 2009 6:10 PM
To: pythondotnet at python.org
Subject: [Python.NET] System.IO.FileNotFoundException: Unable to find assembly 'MbtCom.dll'.

Hi All,
I know this is a very basic question, but despite all my efforts I haven't been able to load a third-party dll into python. I can find the dll using clr.FindAssembly("MbtCom"). I also append the required path to the sys.path, but it refuses to show up. Is there something obvious I am missing ?

Thank you for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20090413/960edc16/attachment.htm>


More information about the PythonDotNet mailing list