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

Craig Farrow craig_farrow at sil.org
Tue Apr 14 08:05:34 CEST 2009


Try this:

import sys
sys.path.append("<path to your custom assembly>")

import clr
import System

clr.AddReference("MbtCom")


Craig.

14/04/2009 9:09 a.m. dï, kfadnis pišdimiš:
> 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.
> ------------------------------------------------------------------------
>
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet



More information about the PythonDotNet mailing list