From: <tom...@gm...> - 2014-11-07 17:00:14
|
Got it. Tom November 7 2014 4:07 PM, "Rob Vesse" <rv...@do...> wrote: > Tom > > I have updated the code base to not use the MSBuild integrated package > restore feature (I.e. I've removed the .nuget folder and all project file > calls to its NuGet.targets) > > We now instead rely on using Visual Studio automatic package restore OR a > build step of calling nuget restore on the solution file depending on the > environment under which you want to build. > > However on TeamCity this fails presumably because nuget is not on the PATH: > > [16:01:29]Step 3/5: Restore NuGet Packages (NAnt) (3s) > [16:01:29][Step 3/5] Starting: "C:\Program Files > (x86)\nant-0.92\bin\NAnt.exe" > -buildfile:C:\BuildAgent\work\f65accef49585896\Build\nant\dotnetrdf.build > -extension:C:\BuildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NAn > tLoggers.dll -listener:JetBrains.BuildServer.NAntLoggers.NAntListener > restore-packages > [16:01:29][Step 3/5] in directory: C:\BuildAgent\work\f65accef49585896 > [16:01:31][Step 3/5] Buildfile: > file:///C:/BuildAgent/work/f65accef49585896/Build/nant/dotnetrdf.build > [16:01:31][Step 3/5] Target framework: Microsoft .NET Framework 4.0 > [16:01:31][Step 3/5] Target(s) specified: restore-packages > [16:01:31][Step 3/5] > [16:01:31][Step 3/5] restore-packages > [16:01:32][Step 3/5] > C:\BuildAgent\work\f65accef49585896\Build\nant\dotnetrdf.build(510,6): > 'nuget' failed to start. > [16:01:32][Step 3/5] Process exited with code 1 > [16:01:32][Step 3/5] NAnt output > [16:01:32][NAnt output] NAnt 0.92 (Build 0.92.4543.0; release; 09.06.2012) > [16:01:32][NAnt output] Copyright (C) 2001-2012 Gerry Shaw > [16:01:32][NAnt output] http://nant.sourceforge.net > [16:01:32][NAnt output] > [16:01:32][NAnt output] Buildfile: > file:///C:/BuildAgent/work/f65accef49585896/Build/nant/dotnetrdf.build > [16:01:32][NAnt output] Target framework: Microsoft .NET Framework 4.0 > [16:01:32][NAnt output] Target(s) specified: restore-packages > [16:01:32][NAnt output] > [16:01:32][NAnt output] > [16:01:32][NAnt output] restore-packages: > [16:01:32][NAnt output] > [16:01:32][NAnt output] > [16:01:32][NAnt output] BUILD FAILED > [16:01:32][NAnt output] > [16:01:32][NAnt output] > C:\BuildAgent\work\f65accef49585896\Build\nant\dotnetrdf.build(510,6): > [16:01:32][NAnt output] 'nuget' failed to start. > [16:01:32][NAnt output] Das System kann die angegebene Datei nicht > finden > [16:01:32][NAnt output] > [16:01:32][NAnt output] Total time: 0.9 seconds. > [16:01:32][NAnt output] > [16:01:32][Step 3/5] Step Restore NuGet Packages (NAnt) failed > > Can you add nuget to the PATH please? > > Thanks, > > Rob > > On 06/11/2014 19:23, "Rob Vesse" <rv...@do...> wrote: > >> Good point, that might explain the problems >> >> Rob >> >> On 06/11/2014 19:19, "tom...@gm..." >> <tom...@gm...> wrote: >> >>> Rob >>> >>> There are multiple. There is 2.8.2 installed, I use it in other projects >>> from TeamCity build step. >>> >>> But isn't msbuild using a nuget.exe from the repository? >>> >>> Tom >>> >>> November 6 2014 8:11 PM, "Rob Vesse" <rv...@do...> wrote: >>>> Tom >>>> >>>> What version of NuGet is on the TeamCity system? >>>> >>>> I've seen some suggestions that the package is not corrupt merely it >>>> uses >>>> features that are not available in earlier versions of NuGet. >>>> Apparently >>>> upgrading to the latest NuGet should allow the package to be read. >>>> >>>> Rob >>>> >>>> On 06/11/2014 19:03, "Rob Vesse" <rv...@do...> wrote: >>>> >>>>> Yes I did notice that I am now getting notifications >>>>> >>>>> Thanks, >>>>> >>>>> Rob >>>>> >>>>> On 06/11/2014 17:48, "tom...@gm..." >>>>> <tom...@gm...> wrote: >>>>> >>>>>> Indeed it seems fine now. >>>>>> >>>>>> By the way are you getting TeamCity notifications? I've fixed the >>>>>> SMTP >>>>>> configuration recently. >>>>>> >>>>>> Tom >>>>>> >>>>>> November 6 2014 5:42 PM, "Rob Vesse" <rv...@do...> wrote: >>>>>>> Tom >>>>>>> >>>>>>> Ignore my previous email, I have found that the real cause of the >>>>>>> problem is that I upgraded to the >>>>>>> latest HtmlAgilityPack release for which the package is corrupted >>>>>>> >>>>>>> https://htmlagilitypack.codeplex.com/workitem/35551 >>>>>>> >>>>>>> So rolling back to the previous good HAP release should resolve the >>>>>>> issue >>>>>>> >>>>>>> Rob >>>>>>> >>>>>>> From: Rob Vesse <rv...@do...> >>>>>>> Reply-To: dotNetRDF Developer Discussion and Feature Request >>>>>>> <dot...@li...> >>>>>>> Date: Thursday, 6 November 2014 16:28 >>>>>>> To: dotNetRDF Developer Discussion and Feature Request >>>>>>> <dot...@li...> >>>>>>> Subject: [dotNetRDF-Develop] TeamCity Stuck >>>>>>> >>>>>>>> Tom >>>>>>>> >>>>>>>> The TeamCity builds are stuck due to NuGet complaining about >>>>>>>> corrupted >>>>>>>> files >>>>>>>> >>>>>>>> Googling around I found >>>>>>>> http://nuget.codeplex.com/discussions/272453 >>>>>>>> which suggests that >>>>>>> >>>>>>> resolving >>>>>>>> this requires cleaning out the packages folder of the solution >>>>>>>> (which >>>>>>>> I have tried to do via >>>>>>>> TeamCity clean build functionality) and failing that clearing the >>>>>>>> local NuGet cache which >>>>>>>> apparently is under %LOCALAPPDATA%\NuGet\Cache which I can't do >>>>>>>> myself >>>>>>>> >>>>>>>> Can you try doing this and see if that gets the builds unstuck? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> Rob >>>>>>>> >>>>>>>> _______________________________ >>>>>>>> >>>>>>>> - >>>>>>>> ------ >>>>>>>> _______________________________ >>>>>>>> >>>>>>>> dotNetRDF-develop >>>>>>>> mailing list >>>>>>>> dot...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop >>>>>> >>>>>> _______________________________ >>>>>> >>>>>> - >>>>>> ---- >>>>>> _______________________________ >>>>>> >>>>>> dotNetRDF-develop mailing list >>>>>> dot...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop >>>>> >>>>> _______________________________ >>>>> >>>>> ---- >>>>> _______________________________ >>>>> >>>>> dotNetRDF-develop mailing list >>>>> dot...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop >>>> >>>> _______________________________ >>>> >>>> _______________________________ >>>> >>>> dotNetRDF-develop mailing list >>>> dot...@li... >>>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop >>> >>> _______________________________ >>> >>> - >>> ---- >>> _______________________________ >>> >>> dotNetRDF-develop mailing list >>> dot...@li... >>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop >> >> _______________________________ >> >> ---- >> _______________________________ >> >> dotNetRDF-develop mailing list >> dot...@li... >> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop > > _______________________________ > > _______________________________ > > dotNetRDF-develop mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-develop |