Adds contentRoot to ANCM path (#1272)

This commit is contained in:
Justin Kotalik 2017-11-15 10:32:00 -08:00 committed by GitHub
parent afb36d9667
commit 0b8b099e82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
{ {
// We need to pick the bitness based the OS / IIS Express, not the application. // 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 // 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 // Bin deployed by Microsoft.AspNetCore.AspNetCoreModule.nupkg
if (!File.Exists(Environment.ExpandEnvironmentVariables(ancmFile))) if (!File.Exists(Environment.ExpandEnvironmentVariables(ancmFile)))