Skip to content

Commit

Permalink
Make wwwroot available when publish (OrchardCMS#17346)
Browse files Browse the repository at this point in the history
Co-authored-by: canadacubachina <canadacubachina@outlook.com>
  • Loading branch information
infofromca and canadacubachina authored Jan 14, 2025
1 parent 852eeb1 commit c42af0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/OrchardCore.Cms.Web/OrchardCore.Cms.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
<Folder Include="Localization\" />
</ItemGroup>

<ItemGroup>
<Content Update="wwwroot\.placeholder">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Condition="'$(RazorRuntimeCompilation)' == 'true'" />
</ItemGroup>
Expand Down

0 comments on commit c42af0f

Please sign in to comment.