License?

Issue #92 resolved
Rainer Friedrich created an issue

Zwischenablage01.jpg

Why do I get the Status -> Unlicensed?

Using newest release PoshPro on VSCode portable.

Name Value ---- ----- PSVersion 5.1.17763.316 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17763.316 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

Comments (16)

  1. Rainer Friedrich reporter

    After a restart it shows licensed, but if I try to start the WPF Designer, it get this:

    "Running the contributed command:'powershell.showWinFormDesigner' failed."

  2. Adam Driscoll

    Can you open a PS1 file and run Show-WinFormDesigner -CodeFilePath .\test.ps1 -DesignerFilePath .\test.designer.ps1 to see what happens?

  3. Rainer Friedrich reporter

    in the terminal?

    "Show-WinFormDesigner : Please visit PoshTools.com to purchase a license or use Send-PoshProToolsTrialLicense to receive a trial key. In Zeile:1 Zeichen:1 + Show-WinFormDesigner -CodeFilePath .\test.ps1 -DesignerFilePath .\tes ... + ~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Show-WinFormDesigner], Exception + FullyQualifiedErrorId : System.Exception,PowerShellToolsPro.Cmdlets.ShowWinFormDesignerCommand"

    I have the portable Version if VSC, but that should be no problem, it is the official portable version and everything else runs well.

  4. Shawn Melton

    I can confirm this same issue. I'm on Windows 10 1803 update which includes .NET 4.7.2 (there is no installer for Windows 10 1803).

    As well, I have VS 2019 installed and use .NET 4.7.2 with it currently so I know it is there and functioning.

    I am using Code Insiders Edition :

    Version: 1.33.0-insider (user setup)
    Commit: 1efaca21afeb983a8efdae6a6b142bd00276c563
    Date: 2019-03-20T08:25:15.878Z
    Electron: 3.1.6
    Chrome: 66.0.3359.181
    Node.js: 10.2.0
    V8: 6.6.346.32
    OS: Windows_NT x64 10.0.17134
    
  5. Shawn Melton

    I tested running the example command and it does allow the designer to open without errors. It is just the status still shows unlicensed for me.

  6. Adam Driscoll

    It is likely a problem with the portable version compatibility with this extension. I will have to look into it.

  7. Rainer Friedrich reporter

    It shows "Unlicensed" but runs the Designer.

    "EndDate : 14.01.2020 09:01:57 SeatNumber : 1 IsTrial : False Status : Unlicensed"

  8. Log in to comment