|
@@ -25,10 +25,11 @@ namespace Benchmarks
|
|
// Set up configuration sources.
|
|
// Set up configuration sources.
|
|
var builder = new ConfigurationBuilder()
|
|
var builder = new ConfigurationBuilder()
|
|
.SetBasePath(hostingEnv.ContentRootPath)
|
|
.SetBasePath(hostingEnv.ContentRootPath)
|
|
- .AddCommandLine(Program.Args)
|
|
|
|
.AddJsonFile("appsettings.json")
|
|
.AddJsonFile("appsettings.json")
|
|
.AddJsonFile($"appsettings.{hostingEnv.EnvironmentName}.json", optional: true)
|
|
.AddJsonFile($"appsettings.{hostingEnv.EnvironmentName}.json", optional: true)
|
|
- .AddEnvironmentVariables();
|
|
|
|
|
|
+ .AddEnvironmentVariables()
|
|
|
|
+ .AddCommandLine(Program.Args)
|
|
|
|
+ ;
|
|
|
|
|
|
Configuration = builder.Build();
|
|
Configuration = builder.Build();
|
|
|
|
|