From 2f0eafa2a36f40af236baeafab5b7dc8861c696e Mon Sep 17 00:00:00 2001 From: Praburaj Date: Tue, 14 Apr 2015 17:09:51 -0700 Subject: [PATCH] Scoping a work around previously applied for a Dnx bug --- test/DeploymentHelpers/Deployers/ApplicationDeployer.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/DeploymentHelpers/Deployers/ApplicationDeployer.cs b/test/DeploymentHelpers/Deployers/ApplicationDeployer.cs index f8e767cb03..9c25a351d2 100644 --- a/test/DeploymentHelpers/Deployers/ApplicationDeployer.cs +++ b/test/DeploymentHelpers/Deployers/ApplicationDeployer.cs @@ -142,7 +142,11 @@ namespace DeploymentHelpers environment["ASPNET_ENV"] = DeploymentParameters.EnvironmentName; // Work around for https://github.com/aspnet/dnx/issues/1515 - // environment.Remove("DNX_PACKAGES"); + if (DeploymentParameters.PublishWithNoSource) + { + environment.Remove("DNX_PACKAGES"); + } + environment.Remove("DNX_DEFAULT_LIB"); foreach (var environmentVariable in DeploymentParameters.EnvironmentVariables)