From 59526ff16a431ab96c5de646497a1352c99ddc31 Mon Sep 17 00:00:00 2001 From: SteveSandersonMS Date: Sat, 7 Jan 2017 00:00:52 +0000 Subject: [PATCH] Update templates' csproj files to fix first-time publishing (previously, it didn't deploy dist files if they were not already on disk) --- templates/Angular2Spa/Angular2Spa.csproj | 24 +++++++++++--------- templates/AureliaSpa/Aurelia.csproj | 13 +++++++++-- templates/KnockoutSpa/KnockoutSpa.csproj | 13 +++++++++-- templates/ReactReduxSpa/ReactReduxSpa.csproj | 24 +++++++++++--------- templates/ReactSpa/ReactSpa.csproj | 13 +++++++++-- 5 files changed, 59 insertions(+), 28 deletions(-) diff --git a/templates/Angular2Spa/Angular2Spa.csproj b/templates/Angular2Spa/Angular2Spa.csproj index 73956c9..842f935 100644 --- a/templates/Angular2Spa/Angular2Spa.csproj +++ b/templates/Angular2Spa/Angular2Spa.csproj @@ -6,7 +6,7 @@ true true $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; - $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj + $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj;.git\** @@ -68,21 +68,23 @@ - - - + + - - Never - - - PreserveNewest - - + + + + + + + %(DistFiles.Identity) + PreserveNewest + + \ No newline at end of file diff --git a/templates/AureliaSpa/Aurelia.csproj b/templates/AureliaSpa/Aurelia.csproj index 98a887d..e8e6f9e 100644 --- a/templates/AureliaSpa/Aurelia.csproj +++ b/templates/AureliaSpa/Aurelia.csproj @@ -6,7 +6,7 @@ true true $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; - $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj + $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj;.git\** @@ -69,10 +69,19 @@ - + + + + + + + %(DistFiles.Identity) + PreserveNewest + + \ No newline at end of file diff --git a/templates/KnockoutSpa/KnockoutSpa.csproj b/templates/KnockoutSpa/KnockoutSpa.csproj index 98a887d..e8e6f9e 100644 --- a/templates/KnockoutSpa/KnockoutSpa.csproj +++ b/templates/KnockoutSpa/KnockoutSpa.csproj @@ -6,7 +6,7 @@ true true $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; - $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj + $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj;.git\** @@ -69,10 +69,19 @@ - + + + + + + + %(DistFiles.Identity) + PreserveNewest + + \ No newline at end of file diff --git a/templates/ReactReduxSpa/ReactReduxSpa.csproj b/templates/ReactReduxSpa/ReactReduxSpa.csproj index 73956c9..842f935 100644 --- a/templates/ReactReduxSpa/ReactReduxSpa.csproj +++ b/templates/ReactReduxSpa/ReactReduxSpa.csproj @@ -6,7 +6,7 @@ true true $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; - $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj + $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj;.git\** @@ -68,21 +68,23 @@ - - - + + - - Never - - - PreserveNewest - - + + + + + + + %(DistFiles.Identity) + PreserveNewest + + \ No newline at end of file diff --git a/templates/ReactSpa/ReactSpa.csproj b/templates/ReactSpa/ReactSpa.csproj index 98a887d..e8e6f9e 100644 --- a/templates/ReactSpa/ReactSpa.csproj +++ b/templates/ReactSpa/ReactSpa.csproj @@ -6,7 +6,7 @@ true true $(PackageTargetFallback);portable-net45+win8+wp8+wpa81; - $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj + $(GlobalExclude);bin\**;obj\**;node_modules\**;**\*.user;**\*.suo;**\*.*proj;.git\** @@ -69,10 +69,19 @@ - + + + + + + + %(DistFiles.Identity) + PreserveNewest + + \ No newline at end of file