I use the new vs2017 SDK project style with PackageReference to nuget packages, so there isn't a package folder.
I want to download LibZ.Tool tool in the folder in the root of the solution $(solutionDir)tools
I didn't reference LibZ.Tool in the project.
Currently in development, i save LibZ.Tool, but i exclude merging it in git.
I have script merge.cmd that call tools\libz
How to download LibZ.Tool in the the folder before starting build $(solutionDir)tools

#1 Posted by Owen McDonnell Support staff on 17 Oct, 2018 05:47 PM
What about downloading and then extracting from here?
#2 Posted by moh.hassan20 on 18 Oct, 2018 06:22 PM
Thanks for reply,
It can work, but it's preferred of using nuget packages to benefit any new updates and it's downloaded and unzipped in one step.
I find for `PackageReference`, nuget stores the package in the global‑packages folder which is, for windows, `%userprofile%\.nuget\packages` ,
I test it in my development env .
The question:
Do appveyor store nuget package in this location %userprofile%\.nuget\packages, Or
in other location, so i can access the tool.?
#3 Posted by moh.hassan20 on 21 Oct, 2018 01:13 AM
I find that the nuget packages are installed by default in the windows folder: %userprofile%\.nuget\packages so i can use the tool from that folder.
#4 Posted by Owen McDonnell Support staff on 22 Oct, 2018 11:00 PM
Sorry for the delay. As you discovered, nuget packages can be accessed from that directory.
Owen McDonnell closed this discussion on 22 Oct, 2018 11:00 PM.