Fix test property evaluation on netfx vertical (#1715)
authorViktor Hofer <viktor.hofer@microsoft.com>
Tue, 14 Jan 2020 19:05:57 +0000 (20:05 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2020 19:05:57 +0000 (20:05 +0100)
commit5ae8360d120d3b36763d500bbcc4594cd2280db3
treebd0f85c62ab570de4da3eb2661a1add271d4aa59
parentc574d1a112a3515108975d65561fe6cc927f45e9
Fix test property evaluation on netfx vertical (#1715)

When running on netfx vertical there's a chance that the `XunitConsoleNetCore21AppPath` property which is defined in https://github.com/dotnet/arcade/blob/master/src/Microsoft.DotNet.XUnitConsoleRunner/src/build/Microsoft.DotNet.XUnitConsoleRunner.props#L4 isn't available because the packages isn't restored / imported. Guarding against that by checking if the property is set.
eng/testing/xunit/xunit.console.targets