From 09ad0829138f1408c8d8a4dd14f261c9d17c76f7 Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Thu, 25 Feb 2016 10:13:21 -0800 Subject: [PATCH] No dnu --- .../Deployers/ApplicationDeployer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Server.Testing/Deployers/ApplicationDeployer.cs b/src/Microsoft.AspNetCore.Server.Testing/Deployers/ApplicationDeployer.cs index 5da44589d9..b6c2589da1 100644 --- a/src/Microsoft.AspNetCore.Server.Testing/Deployers/ApplicationDeployer.cs +++ b/src/Microsoft.AspNetCore.Server.Testing/Deployers/ApplicationDeployer.cs @@ -79,7 +79,7 @@ namespace Microsoft.AspNetCore.Server.Testing if (hostProcess.ExitCode != 0) { - throw new Exception(string.Format("dnu publish exited with exit code : {0}", hostProcess.ExitCode)); + throw new Exception($"{DotnetCommandName} publish exited with exit code : {hostProcess.ExitCode}"); } DeploymentParameters.ApplicationPath =