#452 Rename Microsoft.AspNet.Hosting.json to hosting.json.
This commit is contained in:
parent
2bb2f95532
commit
995f0ca92f
|
|
@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Hosting
|
|||
{
|
||||
public class WebApplication
|
||||
{
|
||||
private const string HostingJsonFile = "Microsoft.AspNet.Hosting.json";
|
||||
private const string HostingJsonFile = "hosting.json";
|
||||
private const string ConfigFileKey = "config";
|
||||
|
||||
public static void Run(string[] args)
|
||||
|
|
|
|||
|
|
@ -66,9 +66,9 @@ namespace Microsoft.AspNet.Server.Testing
|
|||
|
||||
private void SetAspEnvironmentWithJson()
|
||||
{
|
||||
// Drop a Microsoft.AspNet.Hosting.json with Hosting:Environment information.
|
||||
Logger.LogInformation("Creating Microsoft.AspNet.Hosting.json file with Hosting:Environment.");
|
||||
var jsonFile = Path.Combine(DeploymentParameters.ApplicationPath, "Microsoft.AspNet.Hosting.json");
|
||||
// Drop a hosting.json with Hosting:Environment information.
|
||||
Logger.LogInformation("Creating hosting.json file with Hosting:Environment.");
|
||||
var jsonFile = Path.Combine(DeploymentParameters.ApplicationPath, "hosting.json");
|
||||
File.WriteAllText(jsonFile, string.Format("{ \"Hosting:Environment\":\"{0}\" }", DeploymentParameters.EnvironmentName));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue