home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / build_bat_177________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Text File  |  2001-08-21  |  995 b   |  24 lines

  1. @ REM Set command switch for building debug or retail (default is to build debug)
  2. @ REM Type "build.bat -r" to build for retail
  3. @ SET DEBUGSAMPLE=/debug+
  4. @ IF "%1"=="-r" SET DEBUGSAMPLE=/debug-
  5. @ IF "%1"=="-R" SET DEBUGSAMPLE=/debug-
  6.  
  7. cd math
  8. csc %DEBUGSAMPLE% /target:library /out:math.dll math.cs
  9. gacutil -i math.dll
  10.  
  11. cd..\de
  12. resgen MyStrings.de.txt MyStrings.de.resources
  13. al /out:WorldCalc.Resources.Dll /v:1.0.0.0 /c:de /embed:MyStrings.de.resources,MyStrings.de.resources,Private
  14.  
  15. cd ..\de-CH
  16. resgen MyStrings.de-CH.txt MyStrings.de-CH.resources
  17. al /out:WorldCalc.Resources.Dll /v:1.0.0.0 /c:de-CH /embed:MyStrings.de-CH.resources,MyStrings.de-CH.resources,Private
  18. cd ..
  19.  
  20. resgen MyStrings.txt MyStrings.resources
  21.  
  22. csc %DEBUGSAMPLE% /target:module /out:parser.dll Parser.cs
  23.  
  24. csc %DEBUGSAMPLE% /target:winexe /out:WorldCalc.exe /addmodule:parser.dll /r:System.Windows.Forms.dll /r:System.Drawing.dll /r:System.dll /r:math\math.dll /res:MyStrings.resources WorldCalc.cs