I have TeamCity 7.1.x installed on an old laptop to assess its suitability to replace CC.NET. I've enabled NuGet Server in TeamCity with the objective of publishing a package to a local NuGet repository (hosted in TC).
So far, I can
- get source from SVN
- compile source
- create a NuGet package
The next step, publishing the package is failing with the following error in the build log:
[22:36:50][push] NuGet command: C:\BuildAgent\tools\NuGet.CommandLine.2.2.0.nupkg\tools\NuGet.exe push C:\BuildAgent\work\71bda74dd056fbeb\Build\Release\Tools.ResourceHandler.18.104.22.168.nupkg %%teamcity_nuget_api_key_xxxxxxxxxxxxxx%% -Source http://localhost/guestAuth/app/nuget/v1/FeedService.svc/
[22:36:50][push] Starting: C:\BuildAgent\temp\agentTmp\custom_script6691888838937431990.cmd
[22:36:50][push] in directory: C:\BuildAgent\work\71bda74dd056fbeb\Build\Release
[22:36:50][push] Pushing Tools.ResourceHandler 22.214.171.124 to 'http://localhost/guestAuth/app/nuget/v1/FeedService.svc/'...
[22:36:50][push] Failed to process request. 'Method Not Allowed'.
[22:36:50][push] The remote server returned an error: (405) Method Not Allowed..
[22:36:50][push] Process exited with code 1
I have read item 1789 and tried the workaround without success. (This is on a Win8 Enterprise workstation.)
Others appear to have similar problems. Is there a solution to this, or am I doing something wrong?