|
May 29, 2002 Composing the Assembly Search Path Tips: May 2002
Yehuda Shiran, Ph.D.
|
|
You specify the assembly names explicitly with the /reference switch at the jsc.exe compilation command. You need to specify the assembly names only when you delete the automatic association between namespaces and assemblies, with the /autoref- (notice the minus sign) at the jsc.exe compilation command. The syntax is simple:
Here is an example for using the /reference switch:
The compiler searches for the assembly in the following order:
Here is an example for using
To learn more about JScript .NET, go to Column 109, JScript .NET, Part III: Classes and Namespaces.
People who read this tip also read these tips: Look for similar tips by subject: |