From b52e33caa7927093dc3ec540fd3282f4f69ae169 Mon Sep 17 00:00:00 2001 From: Chris R Date: Fri, 25 Mar 2016 11:38:38 -0700 Subject: [PATCH] Fix tests by publishing. --- .../TestRunner.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Microsoft.AspNetCore.Localization.FunctionalTests/TestRunner.cs b/test/Microsoft.AspNetCore.Localization.FunctionalTests/TestRunner.cs index a09456ecb6..13d13c5ee4 100644 --- a/test/Microsoft.AspNetCore.Localization.FunctionalTests/TestRunner.cs +++ b/test/Microsoft.AspNetCore.Localization.FunctionalTests/TestRunner.cs @@ -36,7 +36,9 @@ namespace Microsoft.AspNetCore.Localization.FunctionalTests var deploymentParameters = new DeploymentParameters(_applicationPath, ServerType.Kestrel, runtimeFlavor, runtimeArchitecture) { ApplicationBaseUriHint = applicationBaseUrl, - EnvironmentName = environmentName + EnvironmentName = environmentName, + PublishApplicationBeforeDeployment = true, + PublishTargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netstandardapp1.5" }; using (var deployer = ApplicationDeployerFactory.Create(deploymentParameters, logger))