Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 22ee672

Browse files
committed
CopyToOutputDirectory for settings
1 parent 74a60c2 commit 22ee672

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/Examples/Simplify.Web.Examples.Angular/Simplify.Web.Examples.Angular.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
<Content Remove="$(SpaRoot)**" />
2121
<None Include="$(SpaRoot)**" Exclude="$(SpaRoot)node_modules\**" />
2222
</ItemGroup>
23+
<ItemGroup>
24+
<Content Update="appsettings.Development.json">
25+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
26+
</Content>
27+
<Content Update="appsettings.json">
28+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
29+
</Content>
30+
</ItemGroup>
2331
<Target Name="DebugEnsureNodeEnv" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('$(SpaRoot)node_modules') ">
2432
<!-- Ensure Node.js is installed -->
2533
<Exec Command="node --version" ContinueOnError="true">

0 commit comments

Comments
 (0)