Closed paul-sh closed 7 years ago
I can second this. We have our repositoryPath defined in a NuGet.config file. Explicitly specifying the OutputDirectory overrides our configuration and breaks our build.
I created a ticket in the official JetBrains issue tracker: http://youtrack.jetbrains.com/issue/TW-35130
Guys, I'll fix this ASAP. Please watch for changes in http://youtrack.jetbrains.com/issue/TW-35130
Feel free to ping me here or in the YouTrack ticket to test your changes.
Sure
The plugin always passes the -OutputDirectory parameter along with the "restore" command. It looks like there is no way to disable it. As a result NuGet ignores a "repositoryPath" setting in NuGet.config files.
Expected behavior: the plugin passes -OutputDirectory only when it was explicitly specified by a user.
Tested with TeamCity NuGet 0.10.5.5 TeamCity 8.0.5 (build 27692) NuGet.exe 2.7.41115.310