Host.CreateDefaultBuilder.Example icon indicating copy to clipboard operation
Host.CreateDefaultBuilder.Example copied to clipboard

Something to add to the README

Open cflannery91 opened this issue 3 years ago • 0 comments

Hi,

Great work on this, spent the whole day looking into how to do this before I found your solution. One thing that caught me up when I did this on my own project - my appsettings.json file wasn't getting loaded in as my .csproj file didn't contain the following.

<ItemGroup>
  <Content Include="appsettings.json">
    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  </Content>
</ItemGroup>

Might be something to add to the README!

cflannery91 avatar Oct 26 '21 22:10 cflannery91