lholman / OneBuild

Convention based PowerShell build for .NET http://lholman.github.io/OneBuild/
Apache License 2.0
17 stars 2 forks source link

OneBuild has dependency on specific versions of Invoke-Build, NUnit.Runners and NuGet.Commandline #21

Closed dashton82 closed 9 years ago

dashton82 commented 9 years ago

Hi, I've created a new project here https://github.com/dashton82/TeamcityCommunicator and have installed the one build package, however I'm getting an error when running the .bat file. It appears that invoke build has not been downloaded as a dependency to OneBuild.

Any help would be appreciated, Cheers, Dan

lholman commented 9 years ago

"It appears that invoke build has not been downloaded as a dependency to OneBuild." > Could you provide a screenshot of your ~\TeamCityCommunicator\packages folder, is it that an unexpected version of Invoke-Build has been downloaded. OneBuild is hard coded to look for 'invoke-build.2.9.12', see here: https://github.com/lholman/OneBuild/blob/master/OneBuild.bat#L33 this needs fixing for sure

dashton82 commented 9 years ago

image

Screenshot attached,

dashton82 commented 9 years ago

Seems like 2.9.13 has been downloaded which is causing the problem

lholman commented 9 years ago

Correct, could you mod that line I mentioned in my comment to point to 2.9.13 and validate it works?

powershell -NoProfile -ExecutionPolicy bypass -command ".\packages\invoke-build.2.9.13\tools\Invoke-Build.ps1 %TASK% -configuration %CONFIGURATION% -buildCounter %BUILDCOUNTER% .\OneBuild.build.ps1"

dashton82 commented 9 years ago

Changed the line and working as expected. Thanks very much for your help!

lholman commented 9 years ago

Re-opened as I'll fix this hard dependency

lholman commented 9 years ago

Release 1.0.57 fixes this issue.

dashton82 commented 9 years ago

hi,

Still getting an issue after the latest version, this is the output from one build

0 task = Invoke-Commit configuration = Debug buildcounter = 999 Found Invoke-Build at: D:\Projects\TeamCityCommunicator\packages\Invoke-Build.2.9.13 Build Invoke-Commit D:\Projects\TeamCityCommunicator\OneBuild.build.ps1 Base module path: D:\Projects\TeamCityCommunicator\packages\OneBuild.1.0.57\tools\powershell\modules Task /Invoke-Commit/Invoke-Compile/Invoke-HardcoreClean Searching for paths to delete, recursively from: D:\Projects\TeamCityCommunicator Cleaning: D:\Projects\TeamCityCommunicator\TeamCityCommunicator\bin Cleaning: D:\Projects\TeamCityCommunicator\TeamCityCommunicator\obj Cleaning: D:\Projects\TeamCityCommunicator\TeamCityCommunicator.nUnitTests\bin Cleaning: D:\Projects\TeamCityCommunicator\TeamCityCommunicator.nUnitTests\obj 0 Done /Invoke-Commit/Invoke-Compile/Invoke-HardcoreClean 00:00:00.2009397 Task /Invoke-Commit/Invoke-Compile/Set-VersionNumber/Read-MajorMinorVersionNumber/New-DefaultVersionNumberXmlFile skipp ed. Task /Invoke-Commit/Invoke-Compile/Set-VersionNumber/Read-MajorMinorVersionNumber WARNING: VersionNumber.xml file found, reading to set [major] and [minor] version numbers. WARNING: Setting [major] version number to: 0. WARNING: Setting [minor] version number to: 1. Done /Invoke-Commit/Invoke-Compile/Set-VersionNumber/Read-MajorMinorVersionNumber 00:00:00.0159952 Task /Invoke-Commit/Invoke-Compile/Set-VersionNumber

teamcity[buildNumber '0.1.999.3']

Done /Invoke-Commit/Invoke-Compile/Set-VersionNumber 00:00:00.3199040 Task /Invoke-Commit/Invoke-Compile WARNING: Using Configuration mode 'Debug'. Modify this by passing in a value for the parameter '-configMode' Restoring NuGet packages for "D:\Projects\TeamCityCommunicator\TeamCityCommunicator.sln". WARNING: Building 'D:\Projects\TeamCityCommunicator\TeamCityCommunicator.sln' in 'Debug' mode output: Microsoft (R) Build Engine version 4.0.30319.18408 [Microsoft .NET Framework, version 4.0.30319.18444] Copyright (C) Microsoft Corporation. All rights reserved. Build started 18/12/2014 16:09:01. 1>Project "D:\Projects\TeamCit yCommunicator\TeamCityCommunicator.sln" on node 1 (ReBuild;Clean target(s)). 1>ValidateSolutionConfiguration: Building solution configuration "Debug|Any CPU". 1>Project "D:\Projects\TeamCityCommunicator\TeamCityCommunicat or.sln" (1) is building "D:\Projects\TeamCityCommunicator\TeamCityCommunicator.nUnitTests\TeamCityCommunicator.nUnitTest s.csproj" (3) on node 2 (Rebuild target(s)). 3>CoreClean: Creating directory "obj\Debug\". 1>Project "D:\Projects\TeamCityCommunicator\TeamCityCommunicator.sln" (1) is building "D:\Projects\TeamCityCommunicator\TeamCityCo mmunicator\TeamCityCommunicator.csproj" (2) on node 1 (Rebuild target(s)). 2>CoreClean: Creating directory "obj\Debug\". PrepareForBuild: Creating directory "bin\". 3>PrepareForBuild: Creating dir ectory "bin\". 2>GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAtt ribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows \Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:AnyCPU /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva+ /reference:D:\Projects\TeamCityCommunicator\packages\WebGrease.1.3.0\lib\Ant lr3.Runtime.dll /reference:D:\Projects\TeamCityCommunicator\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.dll /refere nce:D:\Projects\TeamCityCommunicator\packages\Castle.Windsor.3.3.0\lib\net45\Castle.Windsor.dll /reference:D:\Projects\T eamCityCommunicator\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll /reference:"C:\Program Files (x86)\Refe rence Assemblies\Microsoft\Framework.NETFramework\v4.5\Microsoft.CSharp.dll" /reference:D:\Projects\TeamCityCommunicato r\packages\Microsoft.Data.Edm.5.2.0\lib\net40\Microsoft.Data.Edm.dll /reference:D:\Projects\TeamCityCommunicator\package s\Microsoft.Data.OData.5.2.0\lib\net40\Microsoft.Data.OData.dll /reference:D:\Projects\TeamCityCommunicator\packages\Mic rosoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll /reference:D:\Projects\TeamCityCommunicator \packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.0\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll /reference:"C:\ Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll" /reference:D:\Projects\Tea mCityCommunicator\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll /reference:"C:\Program Files (x86)\Refer ence Assemblies\Microsoft\Framework.NETFramework\v4.5\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Configuration.dll" /reference:"C:\Progra m Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Data.DataSetExtensions.dll" /reference:"C:\Prog ram Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Data.dll" /reference:"C:\Program File s (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Data.Entity.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.dll" /reference:"C:\Program Files (x86)\Refere nce Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference A ssemblies\Microsoft\Framework.NETFramework\v4.5\System.Net.Http.dll" /reference:D:\Projects\TeamCityCommunicator\packag es\Microsoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40\System.Net.Http.Formatting.dll /reference:"C:\Program Files (x86 )\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Net.Http.WebRequest.dll" /reference:D:\Projects\Tea mCityCommunicator\packages\System.Spatial.5.2.0\lib\net40\System.Spatial.dll /reference:"C:\Program Files (x86)\Referenc e Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Web.Abstractions.dll" /reference:"C:\Program Files (x86)\Refe rence Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Web.ApplicationServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Web.dll" /reference:"C:\Program Files (x86)\Re ference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Web.Entity.dll" /reference:D:\Projects\TeamCityCommunic ator\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.Helpers.dll /reference:D:\Projects\TeamCityComm unicator\packages\Microsoft.AspNet.WebApi.Core.4.0.30506.0\lib\net40\System.Web.Http.dll /reference:D:\Projects\TeamCity Communicator\packages\Microsoft.AspNet.WebApi.OData.4.0.30506\lib\net40\System.Web.Http.OData.dll /reference:D:\Projects \TeamCityCommunicator\packages\Microsoft.AspNet.WebApi.Tracing.4.0.30506\lib\net40\System.Web.Http.Tracing.dll /referenc e:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebApi.WebHost.4.0.30506.0\lib\net40\System.Web.Http.WebHos t.dll /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Mvc.4.0.30506.0\lib\net40\System.Web.Mvc.dll /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optim ization.dll /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Providers.Core.1.2\lib\net40\System.We b.Providers.dll /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Razor.2.0.30506.0\lib\net40\System .Web.Razor.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Web .Routing.dll" /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\Syste m.Web.WebPages.Deployment.dll /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebPages.2.0.30506.0 \lib\net40\System.Web.WebPages.dll /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebPages.2.0.30 506.0\lib\net40\System.Web.WebPages.Razor.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framewor k.NETFramework\v4.5\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFra mework\v4.5\System.Xml.Linq.dll" /reference:D:\Projects\TeamCityCommunicator\packages\WebGrease.1.3.0\lib\WebGrease.dll /debug+ /debug:full /optimize- /out:obj\Debug\TeamCityCommunicator.dll /subsystemversion:6.00 /target:library /utf8outpu t App_Start\BundleConfig.cs App_Start\FilterConfig.cs App_Start\RouteConfig.cs App_Start\WebApiConfig.cs Areas\HelpPage\ ApiDescriptionExtensions.cs Areas\HelpPage\App_Start\HelpPageConfig.cs Areas\HelpPage\Controllers\HelpController.cs Area s\HelpPage\HelpPageAreaRegistration.cs Areas\HelpPage\HelpPageConfigurationExtensions.cs Areas\HelpPage\Models\HelpPageA piModel.cs Areas\HelpPage\SampleGeneration\HelpPageSampleGenerator.cs Areas\HelpPage\SampleGeneration\HelpPageSampleKey. cs Areas\HelpPage\SampleGeneration\ImageSample.cs Areas\HelpPage\SampleGeneration\InvalidSample.cs Areas\HelpPage\Sample Generation\ObjectGenerator.cs Areas\HelpPage\SampleGeneration\SampleDirection.cs Areas\HelpPage\SampleGeneration\TextSam ple.cs Areas\HelpPage\XmlDocumentationProvider.cs Controllers\UpdateBuildStatusController.cs Global.asax.cs Installers\S ervicesInstaller.cs Installers\WebApiInstaller.cs Installers\DependencyResolver.cs Installers\ControllersInstaller.cs In stallers\DependencyScope.cs Plumbing\WindsorControllerFactory.cs Properties\AssemblyInfo.cs Services\BuildStatusDataStor ageService.cs Services\IBuildStatusDataStorageService.cs Services\ITeamCityBaseService.cs Services\ITeamCityService.cs S ervices\ITestEnvironmentService.cs Services\TeamCityService.cs Services\TestEnvironmentService.cs "C:\Users\daniela\AppD ata\Local\Temp.NETFramework,Version=v4.5.AssemblyAttributes.cs" _CopyFilesMarkedCopyLocal: Copying file from "D:\Projects\TeamCityCommunicator\packages\WebGrease.1.3.0\lib\Antlr3.Runtime.dll" to "bin\Antlr3.Runtime.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.dll" to "bin \Castle.Core.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Castle.Windsor.3.3.0\lib\net45\ Castle.Windsor.dll" to "bin\Castle.Windsor.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\E ntityFramework.5.0.0\lib\net45\EntityFramework.dll" to "bin\EntityFramework.dll". Copying file from "D:\Project s\TeamCityCommunicator\packages\Microsoft.Data.Edm.5.2.0\lib\net40\Microsoft.Data.Edm.dll" to "bin\Microsoft.Data.Edm.dl l". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.OData.5.2.0\lib\net40\Microsoft .Data.OData.dll" to "bin\Microsoft.Data.OData.dll". Copying file from "D:\Projects\TeamCityCommunicator\package s\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll" to "bin\Microsoft.Web.Infrastructure. dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.0 \lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll" to "bin\Microsoft.Web.Mvc.FixedDisplayModes.dll". Copying f ile from "D:\Projects\TeamCityCommunicator\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll" to "bin\Newton soft.Json.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\System.Spatial.5.2.0\lib\net40\Sys tem.Spatial.dll" to "bin\System.Spatial.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Micr osoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.Helpers.dll" to "bin\System.Web.Helpers.dll". Copying fi le from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebApi.OData.4.0.30506\lib\net40\System.Web.Http.ODa ta.dll" to "bin\System.Web.Http.OData.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Micros oft.AspNet.WebApi.Tracing.4.0.30506\lib\net40\System.Web.Http.Tracing.dll" to "bin\System.Web.Http.Tracing.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Mvc.4.0.30506.0\lib\net40\System.Web.Mvc .dll" to "bin\System.Web.Mvc.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNe t.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll" to "bin\System.Web.Optimization.dll". Copying f ile from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Providers.Core.1.2\lib\net40\System.Web.Providers.d ll" to "bin\System.Web.Providers.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.A spNet.Razor.2.0.30506.0\lib\net40\System.Web.Razor.dll" to "bin\System.Web.Razor.dll". Copying file from "D:\Pr ojects\TeamCityCommunicator\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.Deployment.dll" to "bin\System.Web.WebPages.Deployment.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Micr osoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.dll" to "bin\System.Web.WebPages.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages .Razor.dll" to "bin\System.Web.WebPages.Razor.dll". Copying file from "D:\Projects\TeamCityCommunicator\package s\WebGrease.1.3.0\lib\WebGrease.dll" to "bin\WebGrease.dll". Copying file from "D:\Projects\TeamCityCommunicato r\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.xml" to "bin\Castle.Core.xml". Copying file from "D:\Project s\TeamCityCommunicator\packages\Castle.Windsor.3.3.0\lib\net45\Castle.Windsor.xml" to "bin\Castle.Windsor.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.xml" to "b in\EntityFramework.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\Newtonsoft.Json.4.5.11\li b\net40\Newtonsoft.Json.xml" to "bin\Newtonsoft.Json.xml". Copying file from "D:\Projects\TeamCityCommunicator\ packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.Helpers.xml" to "bin\System.Web.Helpers.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Mvc.4.0.30506.0\lib\net40\System.Web.Mv c.xml" to "bin\System.Web.Mvc.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspN et.Razor.2.0.30506.0\lib\net40\System.Web.Razor.xml" to "bin\System.Web.Razor.xml". Copying file from "D:\Proje cts\TeamCityCommunicator\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.xml" to "bin\Syste m.Web.WebPages.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebPages.2.0 .30506.0\lib\net40\System.Web.WebPages.Deployment.xml" to "bin\System.Web.WebPages.Deployment.xml". Copying fil e from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.Ra zor.xml" to "bin\System.Web.WebPages.Razor.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\M icrosoft.AspNet.WebApi.Tracing.4.0.30506\lib\net40\System.Web.Http.Tracing.xml" to "bin\System.Web.Http.Tracing.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebApi.OData.4.0.30506\lib\net40\Sy stem.Web.Http.OData.xml" to "bin\System.Web.Http.OData.xml". Copying file from "D:\Projects\TeamCityCommunicato r\packages\Microsoft.Data.Edm.5.2.0\lib\net40\Microsoft.Data.Edm.xml" to "bin\Microsoft.Data.Edm.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.OData.5.2.0\lib\net40\Microsoft.Data.OData.xml" to " bin\Microsoft.Data.OData.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\System.Spatial.5.2. 0\lib\net40\System.Spatial.xml" to "bin\System.Spatial.xml". Creating directory "bin\de". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.Edm.5.2.0\lib\net40\de\Microsoft.Data.Edm.resources.dll" to "bin\de\Microsoft.Data.Edm.resources.dll". Creating directory "bin\es". Copying file from "D:\Proj ects\TeamCityCommunicator\packages\Microsoft.Data.Edm.5.2.0\lib\net40\es\Microsoft.Data.Edm.resources.dll" to "bin\es\Mi crosoft.Data.Edm.resources.dll". Creating directory "bin\fr". Copying file from "D:\Projects\TeamCityC ommunicator\packages\Microsoft.Data.Edm.5.2.0\lib\net40\fr\Microsoft.Data.Edm.resources.dll" to "bin\fr\Microsoft.Data.E dm.resources.dll". Creating directory "bin\it". Copying file from "D:\Projects\TeamCityCommunicator\pa ckages\Microsoft.Data.Edm.5.2.0\lib\net40\it\Microsoft.Data.Edm.resources.dll" to "bin\it\Microsoft.Data.Edm.resources.d ll". Creating directory "bin\ja". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microso ft.Data.Edm.5.2.0\lib\net40\ja\Microsoft.Data.Edm.resources.dll" to "bin\ja\Microsoft.Data.Edm.resources.dll". Creating directory "bin\ko". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.Edm.5. 2.0\lib\net40\ko\Microsoft.Data.Edm.resources.dll" to "bin\ko\Microsoft.Data.Edm.resources.dll". Creating direc tory "bin\ru". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.Edm.5.2.0\lib\net40\ ru\Microsoft.Data.Edm.resources.dll" to "bin\ru\Microsoft.Data.Edm.resources.dll". Creating directory "bin\zh-H ans". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.Edm.5.2.0\lib\net40\zh-Hans\M icrosoft.Data.Edm.resources.dll" to "bin\zh-Hans\Microsoft.Data.Edm.resources.dll". Creating directory "bin\zh- Hant". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.Edm.5.2.0\lib\net40\zh-Hant\ Microsoft.Data.Edm.resources.dll" to "bin\zh-Hant\Microsoft.Data.Edm.resources.dll". Copying file from "D:\Proj ects\TeamCityCommunicator\packages\Microsoft.Data.OData.5.2.0\lib\net40\de\Microsoft.Data.OData.resources.dll" to "bin\d e\Microsoft.Data.OData.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.D ata.OData.5.2.0\lib\net40\es\Microsoft.Data.OData.resources.dll" to "bin\es\Microsoft.Data.OData.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.OData.5.2.0\lib\net40\fr\Microsoft.Data.OD ata.resources.dll" to "bin\fr\Microsoft.Data.OData.resources.dll". Copying file from "D:\Projects\TeamCityCommu nicator\packages\Microsoft.Data.OData.5.2.0\lib\net40\it\Microsoft.Data.OData.resources.dll" to "bin\it\Microsoft.Data.O Data.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.OData.5.2.0\li b\net40\ja\Microsoft.Data.OData.resources.dll" to "bin\ja\Microsoft.Data.OData.resources.dll". Copying file fro m "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.OData.5.2.0\lib\net40\ko\Microsoft.Data.OData.resources.dll" to "bin\ko\Microsoft.Data.OData.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\M icrosoft.Data.OData.5.2.0\lib\net40\ru\Microsoft.Data.OData.resources.dll" to "bin\ru\Microsoft.Data.OData.resources.dll ". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.Data.OData.5.2.0\lib\net40\zh-Hans\Mi crosoft.Data.OData.resources.dll" to "bin\zh-Hans\Microsoft.Data.OData.resources.dll". Copying file from "D:\Pr ojects\TeamCityCommunicator\packages\Microsoft.Data.OData.5.2.0\lib\net40\zh-Hant\Microsoft.Data.OData.resources.dll" to "bin\zh-Hant\Microsoft.Data.OData.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages \System.Spatial.5.2.0\lib\net40\de\System.Spatial.resources.dll" to "bin\de\System.Spatial.resources.dll". Copy ing file from "D:\Projects\TeamCityCommunicator\packages\System.Spatial.5.2.0\lib\net40\es\System.Spatial.resources.dll" to "bin\es\System.Spatial.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\System. Spatial.5.2.0\lib\net40\fr\System.Spatial.resources.dll" to "bin\fr\System.Spatial.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\System.Spatial.5.2.0\lib\net40\it\System.Spatial.resources.dll" to "bin \it\System.Spatial.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\System.Spatial. 5.2.0\lib\net40\ja\System.Spatial.resources.dll" to "bin\ja\System.Spatial.resources.dll". Copying file from "D :\Projects\TeamCityCommunicator\packages\System.Spatial.5.2.0\lib\net40\ko\System.Spatial.resources.dll" to "bin\ko\Syst em.Spatial.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\System.Spatial.5.2.0\li b\net40\ru\System.Spatial.resources.dll" to "bin\ru\System.Spatial.resources.dll". Copying file from "D:\Projec ts\TeamCityCommunicator\packages\System.Spatial.5.2.0\lib\net40\zh-Hans\System.Spatial.resources.dll" to "bin\zh-Hans\Sy stem.Spatial.resources.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\System.Spatial.5.2.0\ lib\net40\zh-Hant\System.Spatial.resources.dll" to "bin\zh-Hant\System.Spatial.resources.dll". CopyFilesToOutputD irectory: Copying file from "obj\Debug\TeamCityCommunicator.dll" to "bin\TeamCityCommunicator.dll". Te amCityCommunicator -> D:\Projects\TeamCityCommunicator\TeamCityCommunicator\bin\TeamCityCommunicator.dll Copyin g file from "obj\Debug\TeamCityCommunicator.pdb" to "bin\TeamCityCommunicator.pdb". 2>Done Building Project "D:\Pro jects\TeamCityCommunicator\TeamCityCommunicator\TeamCityCommunicator.csproj" (Rebuild target(s)). 3>GenerateTargetF rameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\C sc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:AnyCPU /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentr opyva+ /reference:D:\Projects\TeamCityCommunicator\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.dll /reference:D:\Pr ojects\TeamCityCommunicator\packages\Castle.Windsor.3.3.0\lib\net45\Castle.Windsor.dll /reference:"C:\Program Files (x86 )\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\R eference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll" /reference:D:\Projects\TeamCityCommunicator\pac kages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll /reference:D:\Projects\TeamCityCommunicator\packages\NSubstit ute.1.8.0.0\lib\net45\NSubstitute.dll /reference:D:\Projects\TeamCityCommunicator\packages\NUnit.2.6.3\lib\nunit.framewo rk.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.ComponentMo del.DataAnnotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\ System.Configuration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5 \System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System. Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4 .5\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\Syste m.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Drawing.dll " /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.EnterpriseServic es.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Net.Http.d ll" /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40\System.Net .Http.Formatting.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\Syst em.Net.Http.WebRequest.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4 .5\System.Web.ApplicationServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETF ramework\v4.5\System.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\ v4.5\System.Web.DynamicData.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramewo rk\v4.5\System.Web.Entity.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework \v4.5\System.Web.Extensions.dll" /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebApi.Core.4.0.3 0506.0\lib\net40\System.Web.Http.dll /reference:D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Mvc.4.0.30506 .0\lib\net40\System.Web.Mvc.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramewor k\v4.5\System.Web.Services.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramewor k\v4.5\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\Sy stem.Xml.Linq.dll" /reference:D:\Projects\TeamCityCommunicator\TeamCityCommunicator\bin\TeamCityCommunicator.dll /debug+ /debug:full /optimize- /out:obj\Debug\TeamCityCommunicator.nUnitTests.dll /subsystemversion:6.00 /target:library /utf8o utput Controllers\UpdateBuildStatusControllerTests.cs InstallerTests.cs Properties\AssemblyInfo.cs Services\BuildStatusD ataStorageServiceServiceTests.cs Services\TeamCityServiceTests.cs Services\TestEnvironmentServiceTests.cs "C:\Users\dani ela\AppData\Local\Temp.NETFramework,Version=v4.5.AssemblyAttributes.cs" _CopyFilesMarkedCopyLocal: Copy ing file from "D:\Projects\TeamCityCommunicator\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.dll" to "bin\Castle.Cor e.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Castle.Windsor.3.3.0\lib\net45\Castle.Wind sor.dll" to "bin\Castle.Windsor.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Newtonsoft.J son.4.5.11\lib\net40\Newtonsoft.Json.dll" to "bin\Newtonsoft.Json.dll". Copying file from "D:\Projects\TeamCity Communicator\packages\NSubstitute.1.8.0.0\lib\net45\NSubstitute.dll" to "bin\NSubstitute.dll". Copying file fro m "D:\Projects\TeamCityCommunicator\packages\NUnit.2.6.3\lib\nunit.framework.dll" to "bin\nunit.framework.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40\Syste m.Net.Http.Formatting.dll" to "bin\System.Net.Http.Formatting.dll". Copying file from "D:\Projects\TeamCityComm unicator\packages\Microsoft.AspNet.WebApi.Core.4.0.30506.0\lib\net40\System.Web.Http.dll" to "bin\System.Web.Http.dll". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.Mvc.4.0.30506.0\lib\net40\System. Web.Mvc.dll" to "bin\System.Web.Mvc.dll". Copying file from "D:\Projects\TeamCityCommunicator\TeamCityCommunica tor\bin\TeamCityCommunicator.dll" to "bin\TeamCityCommunicator.dll". Copying file from "D:\Projects\TeamCityCom municator\TeamCityCommunicator\bin\System.Web.Optimization.dll" to "bin\System.Web.Optimization.dll". Copying f ile from "D:\Projects\TeamCityCommunicator\TeamCityCommunicator\bin\System.Web.Http.Tracing.dll" to "bin\System.Web.Http .Tracing.dll". Copying file from "D:\Projects\TeamCityCommunicator\TeamCityCommunicator\bin\TeamCityCommunicato r.pdb" to "bin\TeamCityCommunicator.pdb". Copying file from "D:\Projects\TeamCityCommunicator\packages\Castle.C ore.3.3.3\lib\net45\Castle.Core.xml" to "bin\Castle.Core.xml". Copying file from "D:\Projects\TeamCityCommunica tor\packages\Castle.Windsor.3.3.0\lib\net45\Castle.Windsor.xml" to "bin\Castle.Windsor.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.xml" to "bin\Newtonsoft.Json .xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\NSubstitute.1.8.0.0\lib\net45\NSubstitute.x ml" to "bin\NSubstitute.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\NUnit.2.6.3\lib\nuni t.framework.xml" to "bin\nunit.framework.xml". Copying file from "D:\Projects\TeamCityCommunicator\packages\Mic rosoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40\System.Net.Http.Formatting.xml" to "bin\System.Net.Http.Formatting.xml ". Copying file from "D:\Projects\TeamCityCommunicator\packages\Microsoft.AspNet.WebApi.Core.4.0.30506.0\lib\ne t40\System.Web.Http.xml" to "bin\System.Web.Http.xml". Copying file from "D:\Projects\TeamCityCommunicator\pack ages\Microsoft.AspNet.Mvc.4.0.30506.0\lib\net40\System.Web.Mvc.xml" to "bin\System.Web.Mvc.xml". Copying file f rom "D:\Projects\TeamCityCommunicator\TeamCityCommunicator\bin\System.Web.Http.Tracing.xml" to "bin\System.Web.Http.Trac ing.xml". CopyFilesToOutputDirectory: Copying file from "obj\Debug\TeamCityCommunicator.nUnitTests.dll" to "bin\TeamCityCommunicator.nUnitTests.dll". TeamCityCommunicator.nUnitTests -> D:\Projects\TeamCityCommunicat or\TeamCityCommunicator.nUnitTests\bin\TeamCityCommunicator.nUnitTests.dll Copying file from "obj\Debug\TeamCit yCommunicator.nUnitTests.pdb" to "bin\TeamCityCommunicator.nUnitTests.pdb". 3>Done Building Project "D:\Projects\Te amCityCommunicator\TeamCityCommunicator.nUnitTests\TeamCityCommunicator.nUnitTests.csproj" (Rebuild target(s)). 1>D one Building Project "D:\Projects\TeamCityCommunicator\TeamCityCommunicator.sln" (ReBuild;Clean target(s)). Build succe eded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:00.90 Done /Invoke-Commit/Invoke-Compile 00:00:02.0843745 Task /Invoke-Commit/Invoke-UnitTests WARNING: Adding: D:\Projects\TeamCityCommunicator\TeamCityCommunicator.nUnitTests\bin\TeamCityCommunicator.nUnitTests.dll Executing Tests for test assembly: D:\Projects\TeamCityCommunicator\TeamCityCommunicator.nUnitTests\bin\TeamCityCommunic ator.nUnitTests.dll DEBUG: Using NUnit-Console Path: D:\Projects\TeamCityCommunicator\packages\NUnit.Runners.2.6.3\tools\nunit.exe and result file: TestResult_nunit_1.xml Done /Invoke-Commit/Invoke-UnitTests 00:00:00.4118764 Done /Invoke-Commit/New-Packages/Set-VersionNumber Task /Invoke-Commit/New-Packages Will use version: 0.1.999 to build NuGet package WARNING: No NuGet '.nuspec' file found matching the packaging naming convention, exiting without NuGet packaging. 0 Done /Invoke-Commit/New-Packages 00:00:00.2039388 Task /Invoke-Commit Done /Invoke-Commit 00:00:02.7231828 WARNING: VersionNumber.xml file found, reading to set [major] and [minor] version numbers. WARNING: Setting [major] version number to: 0. WARNING: Setting [minor] version number to: 1. Build succeeded with warnings. 7 tasks, 0 errors, 3 warnings 00:00:02.9551132

the following error also appears

image

lholman commented 9 years ago

@dashton82 Ok, thanks for the quick feedback, I've managed to reproduce, looking at it right now. Apologies.

lholman commented 9 years ago

Release 1.0.58 fixes this issue.