Skip to content

Commit 455ab08

Browse files
committed
fix dotnet not found
1 parent c113ef3 commit 455ab08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<!-- API Compat -->
2525
<PropertyGroup>
2626
<RunApiCompat Condition="'$(RunApiCompat)' == ''">$(IsStableProject)</RunApiCompat>
27+
<ToolHostCmd Condition="'$(OS)' != 'Windows_NT'">$(ToolsDir)dotnetcli/dotnet</ToolHostCmd>
28+
2729

2830
<!-- only validate that the current implementation is compatible
2931
with the old one, not vice-versa (since latest may have new

0 commit comments

Comments
 (0)