I added the install OctoPack and immediately was met with red errors pasted below after successful install? Any ideas on why this is happening?
Successfully added ‘OctoPack 3.0.34’ to Website.
You cannot call a method on a null-valued expression.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:17 char:5
-
$import = $msbuild.Xml.AddImport($relativePath)
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
The property ‘Condition’ cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:18 char:5
-
$import.Condition = "Exists('$relativePath')"
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : PropertyNotFound
You cannot call a method on a null-valued expression.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:21 char:5
-
$target = $msbuild.Xml.AddTarget("EnsureOctoPackImported")
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
The property ‘BeforeTargets’ cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:22 char:5
-
$target.BeforeTargets = "BeforeBuild"
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : PropertyNotFound
The property ‘Condition’ cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:23 char:5
-
$target.Condition = "'`$(OctoPackImported)' == ''"
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : PropertyNotFound
You cannot call a method on a null-valued expression.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:26 char:5
-
$errorTask = $target.AddTask("Error")
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
The property ‘Condition’ cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:27 char:5
-
$errorTask.Condition = "!Exists('$relativePath') And ('`$(RunOctoPack)' != ' ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : PropertyNotFound
You cannot call a method on a null-valued expression.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:28 char:5
-
$errorTask.SetParameter("Text", "You are trying to build with OctoPack, but ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:29 char:5
-
$errorTask.SetParameter("HelpKeyword", "BCLBUILD2001");
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:32 char:5
-
$errorTask = $target.AddTask("Error")
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
The property ‘Condition’ cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:33 char:5
-
$errorTask.Condition = "Exists('$relativePath') And ('`$(RunOctoPack)' != '' ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : PropertyNotFound
You cannot call a method on a null-valued expression.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:34 char:5
-
$errorTask.SetParameter("Text", "OctoPack cannot be run because NuGet packag ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Users\jamesf\Source\Workspaces\NewWaterStreet\Coastal\SourceCode_Trunk\Website\packages\OctoPack.3.0.34\tools\Install.ps1:35 char:5
-
$errorTask.SetParameter("HelpKeyword", "BCLBUILD2002");
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: ( [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull