From 9faa6f8230416ba76b5133c39196185686b34ef3 Mon Sep 17 00:00:00 2001 From: Praburaj Date: Wed, 18 Mar 2015 11:38:03 -0700 Subject: [PATCH] Copying the AspNet.Loader.dll only on non-kpm bundle scenario --- test/E2ETests/Common/DeploymentUtility.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/E2ETests/Common/DeploymentUtility.cs b/test/E2ETests/Common/DeploymentUtility.cs index d15d3a5555..46e9a52e07 100644 --- a/test/E2ETests/Common/DeploymentUtility.cs +++ b/test/E2ETests/Common/DeploymentUtility.cs @@ -180,7 +180,10 @@ namespace E2ETests startParameters.ApplicationHostConfigTemplateContent.Replace("[ApplicationPhysicalPath]", Path.Combine(startParameters.ApplicationPath, "wwwroot")); } - IISExpressHelper.CopyAspNetLoader(startParameters.ApplicationPath); + if (!startParameters.BundleApplicationBeforeStart) + { + IISExpressHelper.CopyAspNetLoader(startParameters.ApplicationPath); + } if (!string.IsNullOrWhiteSpace(startParameters.ApplicationHostConfigTemplateContent)) {