From 7a929765cdd6db7726d2a2a6fcc8825791c17db2 Mon Sep 17 00:00:00 2001 From: Paul Johnson Date: Tue, 28 Sep 2021 06:13:22 +0100 Subject: [PATCH] Fix build required before initial publish --- .../Umbraco.Cms.StaticAssets.targets | 45 +++++++++++++++++++ .../UmbracoProject/UmbracoProject.csproj | 13 ------ 2 files changed, 45 insertions(+), 13 deletions(-) diff --git a/build/NuSpecs/buildTransitive/Umbraco.Cms.StaticAssets.targets b/build/NuSpecs/buildTransitive/Umbraco.Cms.StaticAssets.targets index d271653e4448..f9ee41e13988 100644 --- a/build/NuSpecs/buildTransitive/Umbraco.Cms.StaticAssets.targets +++ b/build/NuSpecs/buildTransitive/Umbraco.Cms.StaticAssets.targets @@ -6,6 +6,16 @@ umbraco + + $(DefaultItemExcludes);App_Plugins\**; + + $(DefaultItemExcludes);umbraco\Data\**; + $(DefaultItemExcludes);umbraco\Logs\**; + $(DefaultItemExcludes);umbraco\mediacache\**; + + $(DefaultItemExcludes);wwwroot\media\**; + + @@ -21,7 +31,42 @@ SourceFiles="@(ContentWwwrootFiles)" DestinationFiles="@(ContentWwwrootFiles->'$(MSBuildProjectDirectory)\wwwroot\$(UmbracoWwwrootName)\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" /> + + + + + <_AppPluginsFiles Include="App_Plugins\**" /> + + + + + + + + <_UmbracoFolderFiles Include="umbraco\config\**" /> + <_UmbracoFolderFiles Include="umbraco\PartialViewMacros\**" /> + <_UmbracoFolderFiles Include="umbraco\UmbracoBackOffice\**" /> + <_UmbracoFolderFiles Include="umbraco\UmbracoInstall\**" /> + <_UmbracoFolderFiles Include="umbraco\UmbracoWebsite\**" /> + <_UmbracoFolderFiles Include="umbraco\UmbracoWebsite\**" /> + <_UmbracoFolderFiles Include="umbraco\Licenses\**" /> + + + <_UmbracoFolderFiles Include="umbraco\Deploy\**" /> + + + diff --git a/build/templates/UmbracoProject/UmbracoProject.csproj b/build/templates/UmbracoProject/UmbracoProject.csproj index 99e72bae0f5e..1b3290927d36 100644 --- a/build/templates/UmbracoProject/UmbracoProject.csproj +++ b/build/templates/UmbracoProject/UmbracoProject.csproj @@ -3,9 +3,6 @@ net5.0 Umbraco.Cms.Web.UI - $(DefaultItemExcludes);App_Plugins/**; - $(DefaultItemExcludes);umbraco/**; - $(DefaultItemExcludes);wwwroot/media/**; @@ -26,16 +23,6 @@ - - - - - - - - - - true