Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit fd00abb

Browse files
rommelandreafernandoviton
authored andcommitted
Fix occupancy appSettings filename for linux (case-sensitive) (#59)
1 parent 43c6811 commit fd00abb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

occupancy-quickstart/src/appSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public static AppSettings Load()
2424
{
2525
var appSettings = new ConfigurationBuilder()
2626
.SetBasePath(Directory.GetCurrentDirectory())
27-
.AddJsonFile("appsettings.json")
28-
.AddJsonFile("appsettings.dev.json", optional: true)
27+
.AddJsonFile("appSettings.json")
28+
.AddJsonFile("appSettings.dev.json", optional: true)
2929
.Build()
3030
.Get<AppSettings>();
3131

occupancy-quickstart/src/occupancyQuickstart.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.1.1" />
1818
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
1919
<PackageReference Include="YamlDotNet" Version="5.0.1" />
20-
<Content Include="appsettings.json">
20+
<Content Include="appSettings.json">
2121
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2222
</Content>
2323
</ItemGroup>

0 commit comments

Comments
 (0)