Referenced assemblies are specified in the ILASM source code as follows:
.assembly extern System.Data
{
.ver 1:0:3300:0
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
}
The classes from the referenced assembly are referenced as follows:
[System.Data]System.Data.AggregateNode
Thanks,
Serge
-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Pradeep
Tapadiya
Sent: Wednesday, February 04, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Specifying reference assemblies for ilasm.exe
.NETters,
I am trying to compile some IL code that calls methods from System.Data.DLL
and some other assemblies. When the code is compiled used ilasm.exe, it
complains "Undefined assembly ref 'System.Data'.' I don't see any command
line option on ilasm.exe to specify reference assemblies. Is there some
pragma I must use in the source code?
Thank you in advance for your help.
Pradeep
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com