Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 566ffcb

Browse files
committed
Fix non-existent path in xunit\build package
1 parent db2bfef commit 566ffcb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

build.proj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@
135135
<GitInfoTargets>$(PackagesPath)\GitInfo\build\GitInfo.targets</GitInfoTargets>
136136
<XunitConsole>$(PackagesPath)\xunit.runner.console\tools\xunit.console.x86.exe</XunitConsole>
137137
<XunitBuildDir>$([System.IO.Path]::Combine('$(MSBuildThisFileDirectory)', '.nuget', 'packages', 'xunit.runner.msbuild', 'build'))</XunitBuildDir>
138-
<XunitPlatformDir Condition=" Exists('$(XunitBuildDir)') ">$([System.IO.Directory]::GetDirectories($(XunitBuildDir))[0])</XunitPlatformDir>
139-
<!-- This file is used to detect whether the restore has been performed or not -->
140-
<XunitProps>$([System.IO.Path]::Combine($(XunitPlatformDir), 'xunit.runner.msbuild.props'))</XunitProps>
138+
<XunitProps>$([System.IO.Path]::Combine($(XunitBuildDir), 'xunit.runner.msbuild.props'))</XunitProps>
141139
<PendingRestore Condition=" !Exists('$(GitInfoTargets)') Or !Exists('$(XunitConsole)') Or !Exists('$(XunitProps)') ">true</PendingRestore>
142140
</PropertyGroup>
143141
<Import Project="$(XunitProps)" Condition="Exists('$(XunitProps)')"/>

0 commit comments

Comments
 (0)