Skip to content

Commit 1eacd68

Browse files
committed
Ensure staticwebapp.config.json is copied on build
Added configuration to BlazorExpress.ChartJS.Demo.WebAssembly.csproj to copy wwwroot/staticwebapp.config.json to the output directory with PreserveNewest, supporting deployment requirements.
1 parent 8b88d61 commit 1eacd68

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

BlazorExpress.ChartJS.Demo.WebAssembly/BlazorExpress.ChartJS.Demo.WebAssembly.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@
1616
<ProjectReference Include="..\BlazorExpress.ChartJS.Demo.RCL\BlazorExpress.ChartJS.Demo.RCL.csproj" />
1717
</ItemGroup>
1818

19+
<ItemGroup>
20+
<Content Update="wwwroot\staticwebapp.config.json">
21+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
22+
</Content>
23+
</ItemGroup>
24+
1925
</Project>

0 commit comments

Comments
 (0)