VS2005, C#中申明一个名空间引用一个动态连接库的子库的问题请教
环境是VS2005, C#
我在看一个程序例子, 这个例子引用了一个动态连接库Interop.QuartzTypeLib.dll,这个动态连接库中有一个子库是QuartzTypeLib.dll。我把动态连接库加进去后, 其名称总是为Interop.QuartzTypeLib,但例子中加入的是QuartzTypeLib.dll,我不知这是如何做到的?如何只引用其中一个子库?
关于这一段有一段英文说明,我不懂如何做,我不知申明这个名空间QuartzTypeLib后,还在哪里有个“命令行引用它”?
We declare the namespace QuartzTypeLib and we reference it on the command line (the command line to compile this program is: csc /r:Interop.QuartzTypeLib.dll PlayFile.cs).
翻成中文是:
我们申明这个名空间QuartzTypeLib ,我们在命令行引用它(命令行编译此程序是:csc / r: Interop.QuartzTypeLib.dll PlayFile.cs ) 。
另一个问题,申明一个名空间引用一个动态连接库, 可否名空间与动态连接库不同名?如何做?