From 0b8b099e822a660d7cd8c42f0965f3fdd750fe72 Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Wed, 15 Nov 2017 10:32:00 -0800 Subject: [PATCH] Adds contentRoot to ANCM path (#1272) --- .../Deployers/IISExpressDeployer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs index 121070adba..178764ef91 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs @@ -110,7 +110,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting { // We need to pick the bitness based the OS / IIS Express, not the application. // We'll eventually add support for choosing which IIS Express bitness to run: https://github.com/aspnet/Hosting/issues/880 - var ancmFile = Is64BitHost ? @"x64\aspnetcore.dll" : @"x86\aspnetcore.dll"; + var ancmFile = Path.Combine(contentRoot, Is64BitHost ? @"x64\aspnetcore.dll" : @"x86\aspnetcore.dll"); // Bin deployed by Microsoft.AspNetCore.AspNetCoreModule.nupkg if (!File.Exists(Environment.ExpandEnvironmentVariables(ancmFile)))