浏览代码

Fix build script to use script path

Oren Novotny 9 年之前
父节点
当前提交
1d4b996f63
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Rx.NET/Source/build-new.ps1

+ 1 - 1
Rx.NET/Source/build-new.ps1

@@ -37,7 +37,7 @@ dotnet restore $scriptPath | out-null
 
 
 #need to ensure core is built first due to bad dependency order determination by dotnet build
 #need to ensure core is built first due to bad dependency order determination by dotnet build
 
 
-$coreDir = gci . -Directory | where-object {$_.Name -eq "System.Reactive.Core"} | Select -First 1
+$coreDir = gci $scriptPath -Directory | where-object {$_.Name -eq "System.Reactive.Core"} | Select -First 1
 dotnet build -c "$configuration" $coreDir.FullName
 dotnet build -c "$configuration" $coreDir.FullName
 
 
 Write-Host "Building projects" -Foreground Green
 Write-Host "Building projects" -Foreground Green