From 9652fbd2b438ad64415278f2224286dadebcc7ab Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Fri, 8 Jun 2018 13:56:32 -0700 Subject: [PATCH] Fix default None items not being removed from ClientApp directory Content MSBuild items from the ClientApp directory are removed from the project using an MSBuild and then all files are added as None items. None items that were added by the .NET Core SDK default MSBuild items were not being removed from the ClientApp directory. This resulted in duplicate files shown in Visual Studio for Mac. This affected all the SPA project templates. Fixes #559 --- .../Angular-CSharp.csproj.in | 1 + .../React-CSharp.csproj.in | 1 + .../ReactRedux-CSharp.csproj.in | 1 + 3 files changed, 3 insertions(+) diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Angular-CSharp.csproj.in b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Angular-CSharp.csproj.in index e95e902c88..7902c5877a 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Angular-CSharp.csproj.in +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Angular-CSharp.csproj.in @@ -28,6 +28,7 @@ + diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/React-CSharp.csproj.in b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/React-CSharp.csproj.in index 95dc85dbd6..89b786c2c1 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/React-CSharp.csproj.in +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/React-CSharp.csproj.in @@ -25,6 +25,7 @@ + diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/ReactRedux-CSharp.csproj.in b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/ReactRedux-CSharp.csproj.in index 5b6d2ee374..0b70f416ce 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/ReactRedux-CSharp.csproj.in +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/ReactRedux-CSharp.csproj.in @@ -25,6 +25,7 @@ +