@@ -266,6 +266,79 @@ <h2>Lab07: Internet Information Services/COM+</h2>:
266266 < pre > build -cz</ pre >
267267 < pre > delobj.cmd to clean the source tree</ pre >
268268
269+ < h2 > Building the .NET Framework</ h2 >
270+ < p > To build the .NET Framework you neet to set %DNAROOT% and run the following batch file.</ p >
271+ < pre >
272+ :: ---------------------
273+ :: Source Locations
274+ :: ---------------------
275+
276+ @echo off
277+
278+ :: DNAROOT:
279+ :: The full path for the VS projects.
280+
281+ set DNAROOT=D:\NT\com\netfx
282+
283+ :: ---------------------
284+ :: Build Target
285+ :: ---------------------
286+
287+ :: _URTTARGET:
288+ :: Root for URT builds. Normally something like "c:\complus".
289+ :: This will result in builds being placed in directories
290+ :: like "%_URTTARGET%\v1.x86CHK"
291+
292+ set _URTTARGET=D:\complus
293+
294+ :: DNABUIILT:
295+ :: If you need to build VS - use DNABUILT - binaries will be placed
296+ :: "%DNABUILT%\debug\bin\i386\complus".
297+
298+ set DNABUILT=D:\vsbuilt
299+
300+ :: ---------------------
301+ :: System Directory
302+ :: ---------------------
303+
304+ :: The system dir of the operating system.
305+ ::
306+
307+ :: Win NT
308+ set SYSTEM_DIR=c:\winnt\system32
309+
310+ :: Windows XP
311+ ::set SYSTEM_DIR=c:\windows\system32
312+
313+ ::Set path to binaries.
314+
315+ :: If building URT
316+ set PATH=%PATH%;e:\complus\v1.x86CHK;%DNAROOT%\public\tools\common
317+ set PATH=%PATH%;%DNAROOT%\public\tools\%PROCESSOR_ARCHITECTURE%
318+
319+ :: If building VS
320+ :: set PATH=%PATH%;D:\vsbuilt\Vc7\bin;%DNAROOT%\public\tools\common
321+ :: set PATH=%PATH%;%DNAROOT%\public\tools\%PROCESSOR_ARCHITECTURE%
322+ :: ------
323+ :: Set debug or retail environment
324+ :: -------
325+
326+ :: Debug environment
327+ ::call dnaenv debug
328+
329+ :: Retail environment
330+ :: dnaenv retail
331+
332+ :: -----
333+ :: Add a few handy aliases::- the default ones are kept in %DNAROOT%\public\tools\common\cue.pub:: -
334+
335+ ::dnaroot, bindir,
336+ ::src are interesting ones defined there
337+ :: -----
338+
339+ ::alias mitroot "pushd %DNAROOT%\src\MIT\$*"
340+ ::alias mobile "pushd %DNAROOT%\src\MIT\system\web\mobile\$*"
341+ </ pre >
269342< h2 > This topic provides examples of using BinPlace from the command-line.</ h2 >
270343
271344< p > First, you can set the root destination directory as follows:</ p >
0 commit comments