Skip to content

A parameter cannot be found that matches parameter name 'Wait'. #87

Open

Description

I'm getting this error:

PM> WebApiProxy-Generate-CSharp
Receive-Job : A parameter cannot be found that matches parameter name 'Wait'.
At C:\Users\...\packages\WebApiProxy.CSharp.1.0.5.35849\tools\WebApiProxyCSharp.psm1:30 char:48
+      $result = Receive-Job -Job $generateJob -Wait <<<< 
    + CategoryInfo          : InvalidArgument: (:) [Receive-Job], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.ReceiveJobCommand

I.m using:

  • Client: ASP.NET MVC 5.2.3.0
  • Client WebAPIProxy: 1.0.5.35849
  • Server: ASP.NET WebAPI 5.2.3
  • Server WebAPIProxy: 1.2.1.35849
  • VS 2013 (as administrator)
  • .Net 4.5.1

Activity

  1. faniereynders commented on Feb 25, 2016

    @faniereynders
    Member

    @Atorres666 I haven't personally tested the PS script command from VS2013. Are you also having the same issue in VS2015?

  2. vulcanik commented on Mar 8, 2016

    @vulcanik

    Server WebAPIProxy: 1.2.0.41997
    Client WebApiProxy: 1.0.4.7731

    Working on VS2015 too, I confirm you that using last versions the problem persists on this environment (VS2015).

  3. faniereynders commented on Mar 8, 2016

    @faniereynders
    Member

    What version of Windows are you using?

  4. vulcanik commented on Mar 8, 2016

    @vulcanik

    Win 7 Professional (SP1)

    2016-03-08 16:30 GMT+01:00 Fanie Reynders notifications@github.com:

    What version of Windows are you using?

    —
    Reply to this email directly or view it on GitHub
    #87 (comment)
    .

  5. faniereynders commented on Mar 8, 2016

    @faniereynders
    Member

    Would you mind testing it on Windows 8 or higher?

  6. vulcanik commented on Mar 14, 2016

    @vulcanik

    Hi, I tried with Windows 10 but I got an error:

    <<Each package is licensed to you by its owner. NuGet is not responsible
    for, nor does it grant any licenses to, third-party packages. Some packages
    may include dependencies which are governed by additional licenses. Follow
    the package source (feed) URL to determine any dependencies.

    Package Manager Console Host Version 3.3.0.167

    Type 'get-help NuGet' to see all available NuGet commands.

    PM> WebApiProxy-Generate-CSharp
    Generating proxy code...
    Exception calling "Generate" with "0" argument(s): "One or more errors
    occurred."
    + CategoryInfo : NotSpecified: (:) [],
    MethodInvocationException
    + FullyQualifiedErrorId : AggregateException
    + PSComputerName : localhost

    Done.
    PM>

    Basically updating only the server to the last version it works
    If I update also the client to the last stable version I got that error :(

    Hope this can help.

    2016-03-08 16:44 GMT+01:00 Fanie Reynders notifications@github.com:

    Would you mind testing it on Windows 8 or higher?

    —
    Reply to this email directly or view it on GitHub
    #87 (comment)
    .

  7. ngm commented on May 20, 2016

    @ngm

    This issue seems to be related to the version of Powershell installed on the machine. If you are on Windows 7, try installing the latest version of Powershell via https://www.microsoft.com/en-us/download/details.aspx?id=50395 .

  8. lust4life commented on Jun 2, 2016

    @lust4life
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions