dfinke / OneGetGistProvider

Gist-as-a-Package - PackageManagement PowerShell Provider to interop with Github Gists
Apache License 2.0
45 stars 8 forks source link

Not working on Windows 7 #7

Open majkinetor opened 8 years ago

majkinetor commented 8 years ago

I do all things and get-packageprovider still returns nothing:

PS> install-module gistprovider -force
PS> ls "C:\Program Files\WindowsPowerShell\Modules\GistProvider\" -Recurse

    Directory: C:\Program Files\WindowsPowerShell\Modules\GistProvider

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        4/17/2016   9:12 AM                0.6

    Directory: C:\Program Files\WindowsPowerShell\Modules\GistProvider\0.6

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        4/30/2015  11:35 AM            459 GistProvider.psd1
-a----        4/30/2015  11:35 AM           4337 GistProvider.psm1

PS [new shell]> Get-PackageProvider | % name

msi                    
msu                   
NuGet                
PowerShellGet       

PS > $host | % version

Major  Minor  Build  Revision
-----  -----  -----  --------
5      0      10586  117
dfinke commented 8 years ago

Two things, I built this on the original beta SDK for oneget. I'm not sure if it works still since the RTM bits were pushed.

The way this used to work was, after the install, you had to close and open the PS console because the pkg mgr did not dynamically load the new module, only on restart.