From 077bc8104ec1ebb71858587f7818635cff3ab045 Mon Sep 17 00:00:00 2001 From: "Chris Ross (WEB TOOLS)" Date: Wed, 23 Nov 2016 10:58:42 -0800 Subject: [PATCH] Fix IIS Express deployer for Win7 --- .../Deployers/IISExpressDeployer.cs | 2 +- src/Microsoft.AspNetCore.Server.IntegrationTesting/project.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs index c2cfe22d09..6cd82b4a05 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/IISExpressDeployer.cs @@ -99,7 +99,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting ancmPath = Path.Combine(contentRoot, ancmFile); } - if (!File.Exists(ancmPath)) + if (!File.Exists(Environment.ExpandEnvironmentVariables(ancmPath))) { throw new FileNotFoundException("AspNetCoreModule could not be found.", ancmPath); } diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/project.json b/src/Microsoft.AspNetCore.Server.IntegrationTesting/project.json index 6d3c6c916d..9baa8ee01a 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/project.json +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/project.json @@ -37,6 +37,7 @@ "type": "build", "version": "1.2.0-*" }, + "Microsoft.NETCore.Windows.ApiSets": "1.0.1", "NETStandard.Library": "1.6.1-*" }, "frameworks": {