Fix NuGet restore
Default packages path needs to be .nuget\packages, not packages. closes #12
This commit is contained in:
Родитель
ac5e03e8fd
Коммит
106c3cea9f
|
@ -1,3 +1,3 @@
|
|||
@echo off
|
||||
powershell -ExecutionPolicy ByPass .\build\Scripts\Windows\Build.ps1 %*
|
||||
powershell -NoProfile -ExecutionPolicy ByPass .\build\Scripts\Windows\Build.ps1 %*
|
||||
exit /b %ErrorLevel%
|
||||
|
|
|
@ -176,7 +176,7 @@ function Locate-NuGetScriptPath {
|
|||
|
||||
function Locate-PackagesPath {
|
||||
if ($env:NUGET_PACKAGES -eq $null) {
|
||||
$env:NUGET_PACKAGES = Join-Path -path $env:UserProfile -childPath "Packages\"
|
||||
$env:NUGET_PACKAGES = Join-Path -path $env:UserProfile -childPath ".nuget\packages\"
|
||||
}
|
||||
|
||||
$packagesPath = $env:NUGET_PACKAGES
|
||||
|
|
Загрузка…
Ссылка в новой задаче