Fix dnx arguments

This commit is contained in:
Victor Hurdugaci 2015-07-29 01:30:00 -07:00
parent dfe427d3b3
commit 4154dbb8c3
4 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Dnx.Runtime;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Dnx.Runtime;
namespace Microsoft.AspNet.Hosting
{

View File

@ -62,7 +62,7 @@ namespace Microsoft.AspNet.Server.Testing
throw new InvalidOperationException("kestrel is the only valid ServerType for Mono");
}
var dnxArgs = $"--appbase \"{DeploymentParameters.ApplicationPath}\" Microsoft.Framework.ApplicationHost kestrel --server.urls {DeploymentParameters.ApplicationBaseUriHint}";
var dnxArgs = $"--appbase \"{DeploymentParameters.ApplicationPath}\" Microsoft.Dnx.ApplicationHost kestrel --server.urls {DeploymentParameters.ApplicationBaseUriHint}";
Logger.LogInformation("Executing command: dnx {dnxArgs}", dnxArgs);

View File

@ -49,7 +49,7 @@ namespace Microsoft.AspNet.Server.Testing
{
var commandName = DeploymentParameters.ServerType == ServerType.WebListener ? "web" : "kestrel";
var dnxPath = Path.Combine(ChosenRuntimePath, "dnx.exe");
var dnxArgs = $"--appbase \"{DeploymentParameters.ApplicationPath}\" Microsoft.Framework.ApplicationHost {commandName} --server.urls {DeploymentParameters.ApplicationBaseUriHint}";
var dnxArgs = $"--appbase \"{DeploymentParameters.ApplicationPath}\" Microsoft.Dnx.ApplicationHost {commandName} --server.urls {DeploymentParameters.ApplicationBaseUriHint}";
Logger.LogInformation("Executing {dnxexe} {dnxArgs}", dnxPath, dnxArgs);
var startInfo = new ProcessStartInfo

View File

@ -14,11 +14,11 @@ using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Internal;
using Microsoft.AspNet.Testing.xunit;
using Microsoft.Dnx.Runtime.Infrastructure;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Logging;
using Microsoft.Framework.OptionsModel;
using Microsoft.Dnx.Runtime.Infrastructure;
using Moq;
using Xunit;