Join them; it only takes a minute: Sign up TeamCity - Nuget package restore and RequireConsent up vote 4 down vote favorite A TeamCity build fails. asked 4 years ago viewed 2541 times active 4 years ago Related 0Team City multiple projects build8Failed build trigger in team city TeamCity7When a Build Step fails in a team city All rights reserved. Owner paulcbetts commented Dec 19, 2014 I don't have any refit stub classes in that project (they're all in a different one that is referenced in this one) so I'm not
Subscribed! Home TeamCity Submit a request Community Sign in TeamCity Community TeamCity General Topics Build agent logged in as another user losing path Steve Martin Updated January 17, 2016 07:43 I have You can easily test this by starting a cmd.exe on your machine and then run the cd command above. up vote 0 down vote That command line looks like it is being output from MSBuild when your solution is being built. http://stackoverflow.com/questions/17146046/teamcity-nuget-package-restore-and-requireconsent
Not the answer you're looking for? If not, use any other full path (with trailing slash). Luke .net msbuild teamcity nuget share|improve this question asked Jun 17 '13 at 11:07 Luke Puplett 12.2k1086124 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote Raise equation number position from new line Why don't C++ compilers optimize this conditional boolean assignment as an unconditional assignment?
I tried to create the bin folder as advised by this discussion http://devnet.jetbrains.net/message/5226990;jsessionid=DDE1BE4846DE75E5368364742913503E but no joy. Reload to refresh your session. Notice the Undefined/projects. Terms Privacy Security Status Help You can't perform that action at this time.
leojh commented Jan 9, 2015 I'm actually getting this error when building from the solution Owner paulcbetts commented Jan 10, 2015 @leojh Can you paste in the error you're seeing here? Build FAILED. "C:\TeamCity\buildAgent\work\b3852d84e6702608\testTeamCity\testTeamCity.sln.teamcity.patch.tcprojx" (Build_TeamCity_generated_a7f644186d7c42d48881ad96ba07f0d4;NUnit_TeamCity_generated_a7f644186d7c42d48881ad96ba07f0d4 target) (1) -> "C:\TeamCity\buildAgent\work\b3852d84e6702608\testTeamCity\testTeamCity.sln" (Rebuild target) (2) -> "C:\TeamCity\buildAgent\work\b3852d84e6702608\testTeamCity\ExternalProject\ExternalProject.csproj" (Rebuild target) (3) -> (PostBuildEvent target) -> C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3314,13): error MSB3073: The command "copy C:\TeamCity\buildAgent\work\b3852d84e6702608\testTeamCity\ExternalProject\bin\Release\ExternalProject.dll C:\TeamCity\buildAgent\work\b3852d84e6702608\testTeamCity\testTeamCity\bin\ExternalProject.dll" exited with code Centered-justified or right-justified What exactly is a "bad," "standard," or "good" annual raise? anchor There is a workaround , but I'm not sure if this is a good idea.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3109, 13): error MSB3073: The command "cd \\win5027-SHK\ned\nep\debug\ copy ..\..\Tests\DtIity\DD_DM_DA\*.xml ." exited with code 1. If i build the solution from the Visual studio 2005 IDE, i didn't see any failure. The website project within the same solution: msbuild Website\website.csproj and it fails with the following error: "E:\Dev\secure\src\Website\Website.csproj" (default target) (1) -> (PreBuildEvent target) -> C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1131,5): error MSB3073: The command Stainless Steel Fasteners Is Certificate validation done completely local? We don't know up-front which projects use Refit and which don't, that's why we have to run the generator :) Does the build run locally?
Does that user have enough rights to access web application folder? 0 James Last update January 17, 2016 14:35 Permalink Yep - the user that runs the Build Agent has the It is failing to update a NuGet package to a particular version, which is available on a feed actually provided by TeamCity itself. Teamcity Unable To Find Version Of Package or some strange features of the VS Command prompt?). Nuget Restore Done Building Project "C:\TeamCity\buildAgent\work\b3852d84e6702608\testTeamCity\TestFixtures\TestFixtures.csproj" (Rebuild target(s)).
A great start to my week. –markpcasey Oct 1 '12 at 9:16 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Now we are planning to automate the build process using the teamcity. Ghost Updates on Mac Every polynomial with real coefficients is the sum of cubes of three polynomials How to Get That Triangulated Low-Poly Look? share|improve this answer answered Jun 17 '13 at 15:02 Matt Ward 23.3k33645 Thanks Matt.
I've just "mv"ed a 49GB directory to a bad file path, is it possible to restore the original state of the files? My client's solution file may just be truly messed up. pierskarsenbarg referenced this issue Mar 3, 2015 Closed Refit causes TFS Builds to fail #94 luisrudge commented Apr 17, 2015 I'm having this problem too on appveyor with an Azure Cloud What's the error there?Michael 0 Steve Martin Last update January 17, 2016 07:43 Permalink Hi Michael,Thanks for this.
No problem. In that case your post build script in ExternalProject succeedes. In case you run your builds locally you have testTeamCity\bin folder created by VS before the build started.
Possibly its able to run NuGet and connect to the feed and not find the version (its there) or its not running because the RequireConsent option is in the command line. Can you try running the command at the command line (you'll need to clean up the quoting to make it work) and give us a dump of the exact error. Creating directory "obj\Release\". Related Sites Visual Studio Visual Studio Integrate VSIP Program Microsoft .NET Microsoft Azure Connect Forums Blog Facebook LinkedIn Stack Overflow Twitter Visual Studio Events YouTube Developer Resources Code samples Documentation Downloads
CopyFilesToOutputDirectory: Copying file from "obj\Release\testTeamCity.exe" to "bin\Release\testTeamCity.exe".