Reacting to Configuration API update
This commit is contained in:
parent
52e5ccdac7
commit
cc69cacaea
|
|
@ -91,7 +91,8 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools
|
|||
}
|
||||
|
||||
var builder = new ConfigurationBuilder()
|
||||
.AddJsonFile(Path.Combine(applicationBasePath, "hosting.json"), optional: true);
|
||||
.SetBasePath(applicationBasePath)
|
||||
.AddJsonFile("hosting.json", optional: true);
|
||||
|
||||
var webroot = builder.Build()["webroot"];
|
||||
|
||||
|
|
|
|||
|
|
@ -91,7 +91,8 @@ namespace Microsoft.AspNetCore.Tools.PublishIIS
|
|||
}
|
||||
|
||||
var builder = new ConfigurationBuilder()
|
||||
.AddJsonFile(Path.Combine(applicationBasePath, "hosting.json"), optional: true);
|
||||
.SetBasePath(applicationBasePath)
|
||||
.AddJsonFile("hosting.json", optional: true);
|
||||
|
||||
var webroot = builder.Build()["webroot"];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue