mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Fix Start-PSBuild -SMAOnly with the latest dotnet cli (#3930)
This commit is contained in:
1 parent
fc75c16a30
commit
924f281c96
1 file changed
+5
-1
+5
-1
@@ -249,7 +249,11 @@ function Start-PSBuild {
|
||||
|
||||
$Arguments += "--configuration", $Options.Configuration
|
||||
$Arguments += "--framework", $Options.Framework
|
||||
$Arguments += "--runtime", $Options.Runtime
|
||||
|
||||
if (-not $SMAOnly) {
|
||||
# libraries should not have runtime
|
||||
$Arguments += "--runtime", $Options.Runtime
|
||||
}
|
||||
|
||||
# handle Restore
|
||||
if ($Restore -or -not (Test-Path "$($Options.Top)/obj/project.assets.json")) {
|
||||
|
||||
Reference in new issue
Block a user