Im looking to build Rhino Commons and I got the latest from
http://github.com/lorenzomelato/rhino-commons.git
I tried to running psake and got the following:
Executing task, Clean...
Executing task, Init...
You cannot call a method on a null-valued expression.
Using Set-PSDebug -Trace 1 I Get:
DEBUG: 107+ if <<<< ($task.Precondition -ne $null) {
DEBUG: 110+ "Executing task, $name..." <<<<
Executing task, Init...
DEBUG: 111+ if <<<< ($task.Action -ne $null) {
DEBUG: 112+ if <<<< ($precondition) {
DEBUG: 123+ <<<< & $task.Action
DEBUG: 23+ <<<< . .\psake_ext.ps1
DEBUG: 1+ function Get-Git-Commit <<<<
DEBUG: 7+ function Generate-Assembly-Info <<<<
DEBUG: 24+ <<<< Generate-Assembly-Info `
DEBUG: 19+ $commit = <<<< Get-Git-Commit
DEBUG: 3+ $gitLog = <<<< git log --oneline -1
DEBUG: 4+ return <<<< $gitLog.Split(' ')[0]
DEBUG: 114+ if <<<< ($task.ContinueOnError) {
DEBUG: 120+ throw <<<< $_
DEBUG: 229+ <<<< Cleanup-Environment
DEBUG: 184+ $env:path = <<<< $script:originalEnvPath
DEBUG: 185+ <<<< Set-Location $script:originalDirectory
DEBUG: 186+ $global:ErrorActionPreference = <<<<
$originalErrorActionPreference
DEBUG: 187+ <<<< remove-variable tasks -scope "global"
DEBUG: 188+ <<<< remove-variable properties -scope "global"
DEBUG: 189+ <<<< remove-variable includes -scope "global"
DEBUG: 190+ <<<< remove-variable psake_* -scope "global"
DEBUG: 230+ <<<< Write-Host -foregroundcolor Red $_
You cannot call a method on a null-valued expression.
DEBUG: 231+ if <<<< ($debug) {
DEBUG: 238+ exit <<<< (1)
DEBUG: 2+ $foundSuggestion = <<<< $false
DEBUG: 4+ if <<<< ($lastError -and
DEBUG: 15+ $foundSuggestion <<<<
Any help would be fantastic
Thanks
RG
--
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rhino-tools-dev?hl=en.