We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d2a21 commit 7b112b4Copy full SHA for 7b112b4
Build-Toolkit-Components.ps1
@@ -170,7 +170,13 @@ function Invoke-MSBuildWithBinlog {
170
$msbuildArgs += "/v:detailed"
171
}
172
173
- msbuild $msbuildArgs $TargetHeadPath
+ # If platform is linux, use dotnet instead of msbuild
174
+ if ($($PSVersionTable.Platform) -eq "Unix") {
175
+ dotnet build $msbuildArgs $TargetHeadPath
176
+ }
177
+ else {
178
+ msbuild $msbuildArgs $TargetHeadPath
179
180
181
182
# Components are built individually
0 commit comments