Skip to content

Commit 1aa2235

Browse files
Add workaround/fix for running slngen with dotnet command using tool run
See more info in https://github.com/dotnet/runtime/issues/81580
1 parent 1c581de commit 1aa2235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/GenerateAllSolution.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ else
9393
$diagnostics = ""
9494
}
9595

96-
$cmd = "dotnet$sdkoptions slngen -o $generatedSolutionFilePath $slngenConfig $diagnostics--platform $platforms $($projects -Join ' ')"
96+
$cmd = "dotnet$sdkoptions tool run slngen -o $generatedSolutionFilePath $slngenConfig $diagnostics--platform $platforms $($projects -Join ' ')"
9797

9898
Write-Output "Running Command: $cmd"
9999

0 commit comments

Comments
 (0)