'Nuget Package issues

New to using nuget and packages, my csproj file for a project has it looking for the package at

..\..\..\..\Packages\Portable.BouncyCastle.1.8.10\lib\net40\BouncyCastle.Crypto.dll

Which is correct I want the packages there, but when I run the restore nuget, the package is downloaded to

..\..\..\..\tools\

Which is wrong...

If I un-install and re-install the package it then changes my csproj to

..\..\..\..\Tools\Portable.BouncyCastle.1.8.10\lib\net40\BouncyCastle.Crypto.dll

Can anyone help tell me why is this happening? and how I can fix it? It seems to be project related as its also happening (and only to this one) when built on a server

This is my packages.config for the project for info

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Newtonsoft.Json" version="12.0.2" targetFramework="net452" />
  <package id="Portable.BouncyCastle" version="1.8.10" targetFramework="net452" />
  <package id="StyleCop.Analyzers" version="1.1.118" targetFramework="net452" developmentDependency="true" />
</packages>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source