Remove check for using ANCM with Win7. (#1235)
This commit is contained in:
parent
a63932a492
commit
36bede16e9
|
|
@ -109,13 +109,6 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
|
||||||
if (serverConfig.Contains("[ANCMPath]"))
|
if (serverConfig.Contains("[ANCMPath]"))
|
||||||
{
|
{
|
||||||
string ancmPath;
|
string ancmPath;
|
||||||
if (!IsWin8OrLater)
|
|
||||||
{
|
|
||||||
// The nupkg build of ANCM does not support Win7. https://github.com/aspnet/AspNetCoreModule/issues/40.
|
|
||||||
ancmPath = @"%ProgramFiles%\IIS Express\aspnetcore.dll";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// 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 ? "aspnetcore_x64.dll" : "aspnetcore_x86.dll";
|
var ancmFile = Is64BitHost ? "aspnetcore_x64.dll" : "aspnetcore_x86.dll";
|
||||||
|
|
@ -129,7 +122,6 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
|
||||||
{
|
{
|
||||||
ancmPath = Path.Combine(contentRoot, ancmFile);
|
ancmPath = Path.Combine(contentRoot, ancmFile);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!File.Exists(Environment.ExpandEnvironmentVariables(ancmPath)))
|
if (!File.Exists(Environment.ExpandEnvironmentVariables(ancmPath)))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue