build.bat 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. @echo off
  2. rem Licensed Materials - Property of IBM
  3. rem IBM Cognos Products: DOCS
  4. rem (C) Copyright IBM Corp. 2005, 2012
  5. rem US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  6. rem IBM Corp.
  7. rem Copyright (C) 2007 Cognos ULC, an IBM Company. All rights reserved.
  8. rem Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  9. echo If you didn't run build.bat in ..\SamplesCommon, press Ctrl-C and do it now.
  10. echo.
  11. pause
  12. copy ..\SamplesCommon\SamplesCommon.dll .
  13. copy ..\..\cognosdotnet_10_2.dll .
  14. copy ..\..\cognosdotnetassembly_10_2.dll .
  15. set ICON=/win32icon:..\SamplesCommon\SamplesApplication.ico
  16. set SOURCE=Email.cs EmailDlg.cs EmailContactsDlg.cs
  17. set RESOURCES=EmailDlg.resx EmailContactsDlg.resx
  18. set COMPILED_RESOURCES=/res:EmailDlg.resources,Email.EmailDlg.resources /res:EmailContactsDlg.resources,Email.EmailContactsDlg.resources
  19. set COGDLLS=/r:cognosdotnet_10_2.dll /r:cognosdotnetassembly_10_2.dll
  20. resgen /compile EmailDlg.resx EmailContactsDlg.resx
  21. csc /nologo %COGDLLS% /r:SamplesCommon.dll %SOURCE% %ICON% %COMPILED_RESOURCES%
  22. del *.resources
  23. echo Done.