#3136
[heuristiclab.git] / PreBuildEvent.cmd
blob55a3043d58da36dff0b054a4631d9662c1d401cc
1 IF EXIST "%ProjectDir%\Properties\AssemblyInfo.cs.frame" SubWCRev "%ProjectDir%\" "%ProjectDir%\Properties\AssemblyInfo.cs.frame" "%ProjectDir%\Properties\AssemblyInfo.cs"
2 IF %ERRORLEVEL% NEQ 0 GOTO Error_Handling
3 IF EXIST "%ProjectDir%\Plugin.cs.frame" SubWCRev "%ProjectDir%\" "%ProjectDir%\Plugin.cs.frame" "%ProjectDir%\Plugin.cs"
4 IF %ERRORLEVEL% NEQ 0 GOTO Error_Handling
5 GOTO Done
7 :Error_Handling
8 ECHO There was an error while running subwcrev. Please verify that the *.cs.frame files have been correctly converted to *.cs files, otherwise HeuristicLab won't build.
9 exit 0
11 :Done