License?
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)
-
reporter -
Do you have .NET 4.7.2 installed?
-
reporter Yes, tried to install 4.7.2, installer said that 4.7.2 or newer is installed
-
Can you open a PS1 file and run
Show-WinFormDesigner -CodeFilePath .\test.ps1 -DesignerFilePath .\test.designer.ps1
to see what happens? -
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.
-
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
-
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.
-
It is likely a problem with the portable version compatibility with this extension. I will have to look into it.
-
reporter Would be fine, so I could use my license :-)
-
Can you guys please try the 4.2.2 version? It's on the gallery.
Here are some instructions for installing your license: https://ironmansoftware.com/powershell-tools-for-visual-studio-and-powershell-pro-tools-4-2-2-release-notes/
-
reporter It shows "Unlicensed" but runs the Designer.
"EndDate : 14.01.2020 09:01:57 SeatNumber : 1 IsTrial : False Status : Unlicensed"
-
Strange. I will look into that. Has this unblocked you?
-
after installing 4.2.2 the issue is resolved, designer comes right up. thank you!
-
Awesome. Thanks!
-
- changed status to resolved
-
reporter i get already unlicensed but the designer runs
- Log in to comment
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."