Using DependencyInjection and configuration file (json)

This commit is contained in:
2022-08-24 08:49:14 +02:00
parent 2b42691434
commit 595e9e2365
3 changed files with 68 additions and 37 deletions

View File

@ -10,6 +10,7 @@
<ItemGroup>
<PackageReference Include="DropdownMenu.WPF" Version="1.0.0" />
<PackageReference Include="LoadingSpinner.WPF" Version="1.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
<PackageReference Include="SimpleModal.WPF" Version="1.0.0" />
</ItemGroup>
@ -18,4 +19,10 @@
<ProjectReference Include="..\YouTubeViewers.EntityFramework\YouTubeViewers.EntityFramework.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>