Changes between Version 7 and Version 8 of ProgrammingTips


Ignore:
Timestamp:
Oct 16, 2009, 2:24:11 PM (12 years ago)
Author:
Matthäus Wander
Comment:

postbuild update

Legend:

Unmodified
Added
Removed
Modified
  • ProgrammingTips

    v7 v8  
    44 * You can use the following PostBuild events which do not require adaption of the assembly name:
    55{{{
    6 cd "$(ProjectDir)"
    7 cd ..\..\CrypWin\$(OutDir)
    8 if not exist "./CrypPlugins" mkdir "./CrypPlugins"
     6SET outdir="$(ProjectDir)..\..\CrypWin\$(OutDir)"
     7if exist %outdir% (
     8        cd %outdir%
     9        if not exist "./CrypPlugins" mkdir "./CrypPlugins"
    910
    10 del /S /Q /A:-S-R-H "$(TargetName)*.*"
    11 copy "$(TargetDir)$(TargetName)*.*" "./CrypPlugins"
     11        del /S /Q /A:-S-R-H "$(TargetName)*.*"
     12        copy "$(TargetDir)$(TargetName)*.*" "./CrypPlugins"
    1213
    13 if not exist "./Data" mkdir "./Data"
    14 if exist "$(TargetDir)Data" xcopy /Y /S "$(TargetDir)Data" "./Data"
     14        if not exist "./Data" mkdir "./Data"
     15        if exist "$(TargetDir)Data" xcopy /Y /S "$(TargetDir)Data" "./Data"
     16)
    1517}}}
    1618 * You can use the following short license header and change the first line: