Scoping a work around previously applied for a Dnx bug
This commit is contained in:
parent
7f5f88081b
commit
2f0eafa2a3
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue