Fix tests by publishing.

This commit is contained in:
Chris R 2016-03-25 11:38:38 -07:00
parent f26f951d0d
commit b52e33caa7
1 changed files with 3 additions and 1 deletions

View File

@ -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))