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

前端 未结 15 1973
误落风尘
误落风尘 2020-11-22 17:11

I have the following convention for most of my projects:

/src
    /Solution.sln
    /SolutionFolder
        /Project1
        /Project2
        /etc..
/lib
          


        
15条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-22 17:40

    The config file in the accepted answer works for me in VS2012. However, for me it only works when I do the following:

    1. Create a new project in VS.
    2. Exit VS - this seems to be important.
    3. Copy the config files to the project folder.
    4. Restart VS and add packages.

    If I follow those steps I can use a shared package folder.

提交回复
热议问题