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