Couldn’t figure out how to run it from within VS. Ran it from the command line and got this:
Cannot prompt for input in non-interactive mode.
You cannot call a method on a null-valued expression.
At C:\Enterprise Web Library\Greg\Solution Files\Update All Dependent
Logic.ps1:7 char:1
- $packageVersion = ( ( & “Solution Files\nuget” list $searchTerm -Prerelease
-Non … -
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Unable to parse version value '' from 'packages.config'.
cd : Cannot find path 'packages\EWL\Ewl*\Development Utility' because it does
not exist.
At C:\Enterprise Web Library\Greg\Solution Files\Update All Dependent
Logic.ps1:11 char:1
+ cd "packages\EWL\Ewl*\Development Utility"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (packages\EWL\Ewl*\Development U
tility:String) [Set-Location], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLo
cationCommand
& : The term '.\EnterpriseWebLibrary.DevelopmentUtility' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is
correct and try again.
At C:\Enterprise Web Library\Greg\Solution Files\Update All Dependent
Logic.ps1:12 char:3
+ & .\EnterpriseWebLibrary.DevelopmentUtility ..\..\..\..
UpdateAllDependentLogic
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (.\EnterpriseWeb...elopmentUtili
ty:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException