By default, the NuGet Installer build step seems to restore packages in a "packages" folder next to wherever the specified solution file resides. However, in our case, we have a few projects that are shared across multiple solutions and would like to be able to specify a restore location that is higher up in the filesystem. When working locally, we're able to use a configuration such as the following in a NuGet.config file to set a package location that can be used by multiple solutions:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
<config>
<add key="repositoryPath" value="..\..\..\packages\" />
</config>
</configuration>
Note the "repositoryPath" key that allows us to set the package location further up the folder hierarchy. Is there any way to achieve this same result with TeamCity's NuGet Installer build step?