1. fix case of appSettings for OS whose path is case-sensitive (#7651)
This commit is contained in:
Родитель
c4eb44d8b7
Коммит
1c413727d1
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<PackAsTool>True</PackAsTool>
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace Azure.SDK.ChangelogGen
|
|||
|
||||
var builder = new ConfigurationBuilder()
|
||||
.SetBasePath(Path.GetDirectoryName(Assembly.GetEntryAssembly()!.Location)!)
|
||||
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true);
|
||||
.AddJsonFile("appSettings.json", optional: true, reloadOnChange: true);
|
||||
|
||||
var settings = builder.Build().GetSection("settings");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче