Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $nugetFolder = "%teamcity.tool.NuGet.CommandLine.3.5.0%\tools"
- $solutionDirectory = "%system.teamcity.build.workingDir%\"
- $nuget = "$nugetFolder\nuget.exe"
- Get-ChildItem -Include *.csproj, *.vbproj -Recurse | % {
- Write-Host "Processing Project $($_.Name)"
- & $nuget restore $_.FullName -solutiondirectory $solutionDirectory
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement