Skip to content

Commit

Permalink
Merge pull request #11216 from OzoneNZ/v9/bugfix/static-assets-copy
Browse files Browse the repository at this point in the history
Copy static assets during BeforeBuild target to fix Visual Studio "rebuild" failures
  • Loading branch information
Paul Johnson authored Sep 30, 2021
2 parents bceebea + 74a232d commit 9c0de19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/NuSpecs/build/Umbraco.Cms.StaticAssets.targets
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
<UmbracoWwwrootName Condition="'$(UmbracoWwwrootName)' == ''">umbraco</UmbracoWwwrootName>
</PropertyGroup>

<Target Name="CopyUmbracoAssets" BeforeTargets="Build">
<Target Name="CopyUmbracoAssets" BeforeTargets="BeforeBuild">
<ItemGroup>

<ContentFiles Include="$(ContentFilesPath)" />
<ContentWwwrootFiles Include="$(ContentWwwrootFilesPath)" />
</ItemGroup>
Expand Down

0 comments on commit 9c0de19

Please sign in to comment.