'Nesting .NET Core appsettings.json appsettings.development.json and appsettings.release.json
Solution 1:[1]
You can try to do like this:
<ItemGroup>
<None Update="appsettings.Development.json">
<DependentUpon>appsettings.json</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<None Update="appsettings.Release.json">
<DependentUpon>appsettings.json</DependentUpon>
</None>
</ItemGroup>
result:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yiyi You |



