[Mono-dev] mbas can not find assembly
Arnhoffer Károly
karnhoffer at ecron.hu
Mon Jan 2 04:10:42 EST 2006
Hi,
I have got a small VB code (module.vb) referencing some custom assemblies installed in GAC:
Option Strict On
Imports Obj
Imports Core
Imports Partner
Imports Filter
Imports System.Windows.Forms
Imports Microsoft.VisualBasic
Public Module Procedure
Public Function Expression(CurrentApp As App, CurrentConnection As DB.Connection, CurrentOccurence As Occurence, CurrentCase As Case, CurrentElement As Element,
CurrentAddressee As Person, Optional ByRef CurrentFieldValue As Object
= Nothing) As Object
Return CurrentCase.StartedBy.ID
End Function
End Module
I try to compile it:
$> mbas -r:Core,Filter,Partner,Obj module.vb
MonoBASIC Compiler 1.1.12.1 - (c)2002, 2003, 2004, 2005 Rafael Teixeira
--------
THIS IS AN ALPHA SOFTWARE.
--------
error BC0006: Can not find assembly 'NCore'
Log:
error BC0006: Can not find assembly 'NFilter'
Log:
error BC0006: Can not find assembly 'NPartner'
Log:
error BC0006: Can not find assembly 'WFObj'
Log:
Compilation failed: 4 Error(s), 0 warnings
It looks assembies in GAC are not found. What should I do?
Thanks!
Károly
More information about the Mono-devel-list
mailing list