Chapter 16 - Assembly compiling
Hi all,
In Chapter 16 one of the examples has this batch file:
set indir=C:\component\wroxauthors.cs
set outdir=C:\component\bin\wroxauthors.dll
set assemblies=System.dll,System.data.dll,System.Xml.d ll
csc /t:library /out:%outdir% %indir% /r:%assemblies%
pause
Now I know this will compile the wroxauthors.cs file which will ouput the wroxauthors.dll component. However I don't know the purpose of this part:
set assemblies=System.dll,System.data.dll,System.Xml.d ll
and this part:
/r:%assemblies%
I know the two parts are related but what do they do, and why is it necessary to do it?
Thanks.
|