.netvisual-studionugetnuspec

Nuget installation directory


I made my .net framework project into a nuget package. I want to install that nuget package in another project, but I need to specify exactly where that nuget should be installed e.g (Shell/someDir/here). I understand that I have to edit the .nuspec but with what command?

Help would be greatly appreciated.


Solution

  • I found the answer I needed in this thread

    Is it possible to change the location of packages for NuGet?

    I added in my Nuget.Config file and it copied the nuget files successfully

    <configuration>
      <config>
        <add key="repositoryPath" value="C:\myteam\teampackages" />
      </config>
      ... 
    </configuration>