JetBrains / teamcity-nuget-support

TeamCity NuGet support
Apache License 2.0
43 stars 11 forks source link

OutputDirectory parameter in the "restore" command #8

Closed paul-sh closed 7 years ago

paul-sh commented 10 years ago

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

ringods commented 10 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.

ringods commented 10 years ago

I created a ticket in the official JetBrains issue tracker: http://youtrack.jetbrains.com/issue/TW-35130

ghost commented 10 years ago

Guys, I'll fix this ASAP. Please watch for changes in http://youtrack.jetbrains.com/issue/TW-35130

ringods commented 10 years ago

Feel free to ping me here or in the YouTrack ticket to test your changes.

ghost commented 10 years ago

Sure