[ 
https://issues.apache.org/jira/browse/IGNITE-4430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-4430:
-----------------------------------
    Summary: .NET: Cannot convert the "Name" value of type "System.String" to 
type "System.Management.Automation.ScriptBlock"  (was: .NET: Cannot convert the 
"Name" value of type "System.String" to type "System.Management.Automation.Scr 
iptBlock")

> .NET: Cannot convert the "Name" value of type "System.String" to type 
> "System.Management.Automation.ScriptBlock"
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-4430
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4430
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 1.8
>            Reporter: Ksenia Rybakova
>            Priority: Minor
>
> Environment:
> - Windows7
> - VS 2015
> - NuGet Package Manager 3.4.4
> - Powershell version
> {noformat}
> PS C:\Users\San> $PSVersionTable.PSVersion
> Major  Minor  Build  Revision
> -----  -----  -----  --------
> 2      0      -1     -1
> {noformat}
> While installing/uninstalling Apache.Ignite package the following exception 
> occurs
> {noformat}
> PM> Install-Package Apache.Ignite -Source 
> https://www.myget.org/F/apache-ignite-staging/api/v2 -Version 1.8.1
> Attempting to gather dependency information for package 'Apache.Ignite.1.8.1' 
> with respect to project 'WebApplication1', targeting 
> '.NETFramework,Version=v4.5.2'
> Attempting to resolve dependencies for package 'Apache.Ignite.1.8.1' with 
> DependencyBehavior 'Lowest'
> Resolving actions to install package 'Apache.Ignite.1.8.1'
> Resolved actions to install package 'Apache.Ignite.1.8.1'
> Adding package 'Apache.Ignite.1.8.1' to folder 
> 'D:\Work_Ksu\Platform_tests\WebApplication1\packages'
> Added package 'Apache.Ignite.1.8.1' to folder 
> 'D:\Work_Ksu\Platform_tests\WebApplication1\packages'
> Added package 'Apache.Ignite.1.8.1' to 'packages.config'
> Executing script file 
> 'D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Install.ps1'
> Updating project properties...
> Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the 
> "Name" value of type "System.String" to type "System.Management.Automation.Scr
> iptBlock".
> At 
> D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Install.ps1:33
>  char:37
> +     $binDir = ($_.Properties | Where <<<<  Name -match OutputPath).Value
>     + CategoryInfo          : InvalidArgument: (:) [Where-Object], 
> ParameterBindingException
>     + FullyQualifiedErrorId : 
> CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand
>  
> Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the 
> "Name" value of type "System.String" to type "System.Management.Automation.Scr
> iptBlock".
> At 
> D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Install.ps1:33
>  char:37
> +     $binDir = ($_.Properties | Where <<<<  Name -match OutputPath).Value
>     + CategoryInfo          : InvalidArgument: (:) [Where-Object], 
> ParameterBindingException
>     + FullyQualifiedErrorId : 
> CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand
>  
> Welcome to Apache Ignite.NET!
> Successfully installed 'Apache.Ignite 1.8.1' to WebApplication1
> PM> 
> PM> Uninstall-Package Apache.Ignite
> Attempting to gather dependency information for package 'Apache.Ignite.1.8.1' 
> with respect to project 'WebApplication1', targeting 
> '.NETFramework,Version=v4.5.2'
> Resolving actions to uninstall package 'Apache.Ignite.1.8.1'
> Resolved actions to uninstall package 'Apache.Ignite.1.8.1'
> Executing script file 
> 'D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Uninstall.ps1'
> Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the 
> "Name" value of type "System.String" to type "System.Management.Automation.Scr
> iptBlock".
> At 
> D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Uninstall.ps1:29
>  char:37
> +     $binDir = ($_.Properties | Where <<<<  Name -match OutputPath).Value
>     + CategoryInfo          : InvalidArgument: (:) [Where-Object], 
> ParameterBindingException
>     + FullyQualifiedErrorId : 
> CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand
>  
> Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the 
> "Name" value of type "System.String" to type "System.Management.Automation.Scr
> iptBlock".
> At 
> D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Uninstall.ps1:29
>  char:37
> +     $binDir = ($_.Properties | Where <<<<  Name -match OutputPath).Value
>     + CategoryInfo          : InvalidArgument: (:) [Where-Object], 
> ParameterBindingException
>     + FullyQualifiedErrorId : 
> CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand
>  
> Removed package 'Apache.Ignite.1.8.1' from 'packages.config'
> Successfully uninstalled 'Apache.Ignite.1.8.1' from WebApplication1
> Removing package 'Apache.Ignite.1.8.1' from folder 
> 'D:\Work_Ksu\Platform_tests\WebApplication1\packages'
> Removed package 'Apache.Ignite.1.8.1' from folder 
> 'D:\Work_Ksu\Platform_tests\WebApplication1\packages'
> PM> 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to