Hi xiaorun huang,
..assembly extern System.Xml means that the assembly is
referring to some objects in the System.Xml assembly.
If you want to add reference to an assembly, in VS.NET,
open solution explorer, right-click References, and select
add reference. Select the assembly whose reference you'd
like to add and thats it.
HTH
Regards
Harsh Thakur
>-----Original Message-----
>How can I add some extern assembly reference to an assembly I generate in
[quoted text clipped - 35 lines]
>
>xiaorun huang
xiaorun huang - 19 Sep 2003 20:14 GMT
Thanks! HTH!
Oh, maybe I am not full express me!
I want to do it in porgram mode! I want to write a compiler, so I should
genereate assembly using System.Reflection.Xmit. So I want use what API can
add .assembly extern to a assembly that my compiler will generate!
xiaorun huang
> Hi xiaorun huang,
>
[quoted text clipped - 56 lines]
> >
> >xiaorun huang
Mattias Sj?gren - 20 Sep 2003 00:16 GMT
>I want to do it in porgram mode! I want to write a compiler, so I should
>genereate assembly using System.Reflection.Xmit. So I want use what API can
>add .assembly extern to a assembly that my compiler will generate!
Reflection Emit will handle that automatically when you use types
defined in external assemblies.
Do you have any reason to add assemblyrefs for assemblies that you
don't actually use in your own assembly?
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
xiaorun huang - 22 Sep 2003 03:16 GMT
Oh, this is as what i want!
Thanks!
xiaorun huang
> >I want to do it in porgram mode! I want to write a compiler, so I should
> >genereate assembly using System.Reflection.Xmit. So I want use what API can
[quoted text clipped - 7 lines]
>
> Mattias