Skip to content

Commit 8aba3dd

Browse files
committed
Look for targeting pack in right place
1 parent e1cb48e commit 8aba3dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Framework/test/TargetingPackTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ public TargetingPackTests(ITestOutputHelper output)
2626
{
2727
_output = output;
2828
_expectedRid = TestData.GetSharedFxRuntimeIdentifier();
29+
var root = string.IsNullOrEmpty(Environment.GetEnvironmentVariable("helix"))
30+
? TestData.GetTestDataValue("TargetingPackLayoutRoot")
31+
: Environment.GetEnvironmentVariable("DOTNET_ROOT");
2932
_targetingPackRoot = Path.Combine(TestData.GetTestDataValue("TargetingPackLayoutRoot"), "packs", "Microsoft.AspNetCore.App.Ref", TestData.GetTestDataValue("TargetingPackVersion"));
3033
_isTargetingPackBuilding = bool.Parse(TestData.GetTestDataValue("IsTargetingPackBuilding"));
3134
}

0 commit comments

Comments
 (0)