From d3fb5e76f1fdf6a581c65316af4170f46d40fe7c Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Wed, 9 Aug 2017 16:48:02 -0700 Subject: [PATCH] Remove dependency on a custom task to detect when compiling on macOS (#1987) MSBuild.IsOSPlatform is new to MSBuild 15.3 and can be used to determine when we are building on macOS. --- .../Kestrel.FunctionalTests.csproj | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/test/Kestrel.FunctionalTests/Kestrel.FunctionalTests.csproj b/test/Kestrel.FunctionalTests/Kestrel.FunctionalTests.csproj index d1e519263f..845ea0f84c 100644 --- a/test/Kestrel.FunctionalTests/Kestrel.FunctionalTests.csproj +++ b/test/Kestrel.FunctionalTests/Kestrel.FunctionalTests.csproj @@ -7,6 +7,7 @@ Microsoft.AspNetCore.Server.Kestrel.FunctionalTests netcoreapp2.0;net461 netcoreapp2.0 + $(DefineConstants);MACOS true - - - - - $(DefineConstants);$(OSPlatform.ToUpperInvariant()) - - -