Loading tool from nuget to the root folder of solution when using packageReference

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. What about downloading and then extracting from here?

  2. 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. 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. Sorry for the delay. As you discovered, nuget packages can be accessed from that directory.

  5. Owen McDonnell closed this discussion on 22 Oct, 2018 11:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac