Portable use?

Issue #60 resolved
Rainer Friedrich created an issue

Hello, is it possible to use Poshprotools with portable VSC? If yes how? Have a license and want to find out how to install. Thx. cu starik1968

Comments (7)

  1. Adam Driscoll

    I've never tried it in the portable VSC before. This is the first I've heard of it ;)

    Can you install extensions through the VS Marketplace with portable or do you have to do it manually?

  2. Rainer Friedrich reporter

    It installs, in VSC portable there is dir "data" in the prgram folder, beneath it there are the extensions, another extension "Powershell" (highlighting, intellisense etc.) runs well, if I install yours it is placed there. But when I try to license he dont know the cmdlet. Maybe it has to be imported, and this would not be done in portable. I use the portable version, 'coz I don't want to install, I reset my notebook daily to a clean state. Hope You can help, would love to use my license with Your great software :-)

  3. Adam Driscoll

    OK. Thanks for the info. I will try the portable version and see if I can identify what's going on.

  4. Rainer Friedrich reporter

    Could it maybe that Your modules have to be in the modul path? So that I can set that in my user profile PS-file? I tried but w/o luck. :-)

  5. Adam Driscoll

    The module itself is installed along with the extension and loads it via the path so it should find it. I won't be able to look at this in my lab until earlier next week but will let you know if I spot anything.

    Can you give me the exact error you are seeing?

  6. Rainer Friedrich reporter

    Oh, it is installed. That might be the cause, because I reset the PC and start the VSC. Thena the module can't be installed. Trie to import the PowerShellProTools.psd1, succeeded, but runnig Install-PoshProToolsLicense gave me that: "+ Install-PoshProToolsLicense + ~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Install-PoshProToolsLicense], ParameterBindingException + FullyQualifiedErrorId : AmbiguousParameterSet,PowerShellToolsPro.Cmdlets.InstallPoshProToolsLicenseCommand"

    Sorry I am new an PowerShell, so maybe it's easy to solve it but I dont know how

  7. Log in to comment