I am trying to convert a PowerShell Studio psf file to use with Visual Studio and PowerShell Pro Tools, but when I run the ConvertTo-PoshTools.ps1 script I get an error
You cannot call a method on a null-valued expression.
At D:\datapresOct6\ConvertTo-PoshTools.ps1:195 char:61
- … ect.name) = New-Object -TypeName ‘$($MainObject.type.split(’,’)[0])’"
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (: ) [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
Any ideas on what is going on here?
Thanks!