8000 Support for appsetings.yml · Issue #10251 · dotnet/sdk · GitHub
[go: up one dir, main page]

Skip to content
Support for appsetings.yml #10251
@Leon99

Description

@Leon99

There is an increasing number of systems that adapt YAML as a configuration format. Unfortunately, .NET requires much more effort to use appsetings.yml than to use appsetings.json. One piece to it that is small but very annoying when put to scale is having to explicitly include the following code in a csproj:

  <ItemGroup>
    <None Include="appsettings.*" CopyToPublishDirectory="PreserveNewest" />
  </ItemGroup>

This is a suggestion to adjust the build tool to handle appsettings.*.yml the same way appsettings.*.json are handled, which is, I guess, copying them to publish directory without having that piece in the csproj.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0