Skip to content

Cannot Build on master branch #185

@clcrutch

Description

@clcrutch

Software

  • Windows 10 1803 x64
  • Visual Studio 2017 15.7.2
  • Node.js 10.3.0
  • PowerShell 5.1.17134.81

Steps

  1. From Developer Command Prompt for VS 2017, execute PowerShell
  2. ./init.ps1
  3. ./build.ps1

Results

  NerdBank.GitVersioning -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\NerdBank.GitVersioning\Debug\netcoreapp1.0\NerdBank.GitVersioning.dll
  NerdBank.GitVersioning -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\NerdBank.GitVersioning\Debug\net45\NerdBank.GitVersioning.dll
  MSBuildExtensionTask -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\MSBuildExtensionTask\Debug\netcoreapp1.0\MSBuildExtensionTask.dll
  MSBuildExtensionTask -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\MSBuildExtensionTask\Debug\net45\MSBuildExtensionTask.dll
  Nerdbank.GitVersioning.Tasks -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\Nerdbank.GitVersioning.Tasks\Debug\net45\Nerdbank.GitVersioning.Tasks.dll
  Nerdbank.GitVersioning.Tasks -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\Nerdbank.GitVersioning.Tasks\Debug\netcoreapp1.0\Nerdbank.GitVersioning.Tasks.dll
  NerdBank.GitVersioning.Tests -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\NerdBank.GitVersioning.Tests\Debug\net452\NerdBank.GitVersioning.Tests.dll
  NerdBank.GitVersioning -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\NerdBank.GitVersioning\Debug\netcoreapp1.0\NerdBank.GitVersioning.dll
  MSBuildExtensionTask -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\MSBuildExtensionTask\Debug\netcoreapp1.0\MSBuildExtensionTask.dll
  Nerdbank.GitVersioning.Tasks -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\Nerdbank.GitVersioning.Tasks\Debug\netcoreapp1.0\Nerdbank.GitVersioning.Tasks.dll
  Nerdbank.GitVersioning.NuGet -> C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\bin\Debug\Nerdbank.GitVersioning.NuGet\Nerdbank.GitVersioning.2.1.32.nupkg
[20:53:43] Using gulpfile ~\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\gulpfile.js
[20:53:43] Starting 'tsc'...
[20:53:45] Finished 'tsc' after 1.43 s
[20:53:45] Starting 'copyPackageContents'...
[20:53:45] Finished 'copyPackageContents' after 8.13 ms
[20:53:45] Starting 'setPackageVersion'...
[20:53:45] 'setPackageVersion' errored after 480 ms
[20:53:45] Error: Resolve-Path : Cannot find path 'C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nb
gv.nuget\build\MSBuildFull\Validation.dll' because it does not exist.
At C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nbgv.nuget\tools\Get-Version.ps1
:14 char:42
+ ... embly]::LoadFile((Resolve-Path "$DependencyBasePath\Validation.dll"))
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : ObjectNotFound: (C:\Users\Chris\...\Validation.dll:String) [Resolve-Path], ItemNotFoundE 
   xception
	+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand
 
Exception calling "LoadFile" with "1" argument(s): "Value cannot be null.
Parameter name: path"
At C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nbgv.nuget\tools\Get-Version.ps1
:14 char:1
+ $null = [Reflection.Assembly]::LoadFile((Resolve-Path "$DependencyBas ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
	+ FullyQualifiedErrorId : ArgumentNullException
 
Resolve-Path : Cannot find path 'C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nb
gv.nuget\build\MSBuildFull\LibGit2Sharp.dll' because it does not exist.
At C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nbgv.nuget\tools\Get-Version.ps1
:16 char:42
+ ... bly]::LoadFile((Resolve-Path "$DependencyBasePath\LibGit2Sharp.dll"))
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : ObjectNotFound: (C:\Users\Chris\...ibGit2Sharp.dll:String) [Resolve-Path], ItemNotFoundE 
   xception
	+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand
 
Exception calling "LoadFile" with "1" argument(s): "Value cannot be null.
Parameter name: path"
At C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nbgv.nuget\tools\Get-Version.ps1
:16 char:1
+ $null = [Reflection.Assembly]::LoadFile((Resolve-Path "$DependencyBas ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
	+ FullyQualifiedErrorId : ArgumentNullException
 
Resolve-Path : Cannot find path 'C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nb
gv.nuget\build\MSBuildFull\Newtonsoft.Json.dll' because it does not exist.
At C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nbgv.nuget\tools\Get-Version.ps1
:17 char:42
+ ... ]::LoadFile((Resolve-Path "$DependencyBasePath\Newtonsoft.Json.dll"))
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : ObjectNotFound: (C:\Users\Chris\...onsoft.Json.dll:String) [Resolve-Path], ItemNotFoundE 
   xception
	+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand
 
Exception calling "LoadFile" with "1" argument(s): "Value cannot be null.
Parameter name: path"
At C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nbgv.nuget\tools\Get-Version.ps1
:17 char:1
+ $null = [Reflection.Assembly]::LoadFile((Resolve-Path "$DependencyBas ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
	+ FullyQualifiedErrorId : ArgumentNullException
 
The following exception occurred while retrieving member "HelpFindLibGit2NativeBinaries": "Could not load file or 
assembly 'LibGit2Sharp, Version=0.24.0.0, Culture=neutral, PublicKeyToken=7cbde695407f0333' or one of its 
dependencies. The system cannot find the file specified."
At C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\out\nbgv.nuget\tools\Get-Version.ps1
:22 char:5
+     [Nerdbank.GitVersioning.GitExtensions]::HelpFindLibGit2NativeBina ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : NotSpecified: (:) [], ExtendedTypeSystemException
	+ FullyQualifiedErrorId : CatchFromBaseGetMember
 

	at formatError (C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\node_modules\gulp\bin\gulp.js:169:10)
	at Gulp.<anonymous> (C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\node_modules\gulp\bin\gulp.js:195:15)
	at Gulp.emit (events.js:182:13)
	at Gulp.Orchestrator._emitTaskDone (C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\node_modules\orchestrator\index.js:264:8)
	at C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\node_modules\orchestrator\index.js:275:23
	at finish (C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\node_modules\orchestrator\lib\runTask.js:21:8)
	at C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\src\nerdbank-gitversioning.npm\node_modules\orchestrator\lib\runTask.js:45:4
	at process._tickCallback (internal/process/next_tick.js:68:7)
C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\build.ps1 : Build failure
	+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
	+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,build.ps1
 
Node build failed
At C:\Users\Chris\Repos\misc\Nerdbank.GitVersioning\build.ps1:41 char:13
+             throw "Node build failed"
+             ~~~~~~~~~~~~~~~~~~~~~~~~~
	+ CategoryInfo          : OperationStopped: (Node build failed:String) [], RuntimeException
	+ FullyQualifiedErrorId : Node build failed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions