Advertisement
Wazanator

PostBuildEventSP2013

Jul 20th, 2019
928
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.66 KB | None | 0 0
  1. if not exist "..\..\..\game\mod_episodic\bin\." mkdir "..\..\..\game\mod_episodic\bin\."
  2. copy "$(TargetDir)$(TargetFileName)" "..\..\..\game\mod_episodic\bin\.\$(TargetFileName)"
  3. if ERRORLEVEL 1 goto BuildEventFailed
  4. if exist "$(TargetDir)$(TargetName).map" copy "$(TargetDir)$(TargetName).map" ..\..\..\game\mod_episodic\bin\.\$(TargetName).map
  5. copy "$(TargetDir)$(TargetName).pdb" ..\..\..\game\mod_episodic\bin\.\$(TargetName).pdb
  6. if ERRORLEVEL 1 goto BuildEventFailed
  7. goto BuildEventOK
  8. :BuildEventFailed
  9. echo *** ERROR! PostBuildStep FAILED for $(ProjectName)! EXE or DLL is probably running. ***
  10. del /q "$(TargetDir)$(TargetFileName)"
  11. exit 1
  12. :BuildEventOK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement