From 21fa8cd62d44590d7e601d6b4735933fbca0f448 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 19 Mar 2018 16:19:22 +0100 Subject: [PATCH] Aggiunto script pre compilazione x pulizia dir... --- XPS/XPS.csproj | 4 ++++ XPS/scriptPre.bat | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 XPS/scriptPre.bat diff --git a/XPS/XPS.csproj b/XPS/XPS.csproj index a94b5eb..09c1e96 100644 --- a/XPS/XPS.csproj +++ b/XPS/XPS.csproj @@ -388,6 +388,7 @@ + @@ -970,4 +971,7 @@ + + "$(ProjectDir)scriptPre.bat" "$(ConfigurationName)" "$(ProjectDir)" + \ No newline at end of file diff --git a/XPS/scriptPre.bat b/XPS/scriptPre.bat new file mode 100644 index 0000000..be7c04d --- /dev/null +++ b/XPS/scriptPre.bat @@ -0,0 +1,25 @@ +@echo off +echo Effettua setup dei file specifici per ambienti cliente pre build installer: verifica da nome configurazione %1 + +REM INIZIO eliminando i files che COMUNQUE devo copiare x target... + +if %1 == "Release" goto Release +if %1 == "Debug" goto Debug +if %1 == "EQUA" goto EQUA + +:Release +echo Release: nulla da copiare +goto END + +:Debug +echo Debug: nulla da copiare +goto END + +:EQUA +echo EQUA: copio files EQUA +del /F /Q %2"obj\*.*" +goto END + + +:END +echo Fatto! \ No newline at end of file