tag:help.appveyor.com,2012-11-13:/discussions/problems/3469-psgetpsm1-doesnt-workAppVeyor: Discussion 2018-08-25T02:02:28Ztag:help.appveyor.com,2012-11-13:Comment/383722332015-11-04T00:37:02Z2015-11-04T00:37:02ZPSGet.psm1 doesnt work<div><p>What is <code>ShouldContinue</code>? Looks like "The method or
operation is not implemented." is coming from AppVeyor's custom
PowerShell host - most probably some cmdlet is asking for
additional input (like missing mandatory parameter?) which is not
supported.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/383722332015-11-04T01:16:19Z2015-11-04T01:16:19ZPSGet.psm1 doesnt work<div><p>I’m not doing anything special, just calling this script
which calls Publish-Module</p>
<p><a href="https://github.com/tonybaloney/St2Client/blob/master/DocumentPowerShell.ps1#L31">
https://github.com/tonybaloney/St2Client/blob/master/DocumentPowerS...</a><br>
I <code>think</code> PSGet prompts the user whether they want to
download and install nuget-anycpu.exe but because there is no user
prompt it fails,<br>
But this isn’t a terminating error.<br>
NuGet-anycpu.exe is required to interact with NuGet based
galleries. Please ensure that NuGet-anycpu.exe is available under
'C:\Program Files\PackageManagement\ProviderAssemblies' or<br>
'C:\Users\appveyor\AppData\Local\PackageManagement\ProviderAssemblies'
That is the error I want to resolve first.</p></div>Anthony Shaw (ITaaS)tag:help.appveyor.com,2012-11-13:Comment/383722332015-11-04T01:18:07Z2015-11-04T01:18:07ZPSGet.psm1 doesnt work<div><p>Have you tried troubleshooting via RDP: <a href="http://www.appveyor.com/docs/how-to/rdp-to-build-worker">http://www.appveyor.com/docs/how-to/rdp-to-build-worker</a>
?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/383722332015-11-09T11:02:37Z2015-11-19T16:37:30ZPSGet.psm1 doesnt work<div><p>I have indepently run in to exactly this same issue at the same
time. Same environment, same goal, same error.</p>
<p>The unstable build environment is using an old version of WMF5
which doesn't help our case but I don't think that is the
issue.</p>
<p>It could be related to NuGet already being present to support
Chocolatey. They might be different versions?</p></div>migreenetag:help.appveyor.com,2012-11-13:Comment/383722332015-11-09T14:57:47Z2015-11-09T14:57:47ZPSGet.psm1 doesnt work<div><p>What's the latest version of WMF5? Could you drop a link
please?</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/383722332015-11-09T15:50:44Z2015-11-19T16:37:31ZPSGet.psm1 doesnt work<div><p>Production Preview. Latest builds are always at <a href="http://aka.ms/wmf5latest">http://aka.ms/wmf5latest</a>.</p>
<p>I was just thinking I am on a Win10 client with Insider updates
enabled but set to Slow. There's a chance my PS build version could
be later than PP.</p></div>migreenetag:help.appveyor.com,2012-11-13:Comment/383722332015-11-10T05:17:47Z2015-11-10T05:17:47ZPSGet.psm1 doesnt work<div><p>OK, we'll create a new image with the latest release of WMF 5.0.
Will let you know when it's ready.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/383722332015-11-10T17:24:09Z2015-11-10T17:24:11ZPSGet.psm1 doesnt work<div><p>I've been debugging and it does look like WMF version could be
related. There are a different set of commands in the
PackageManagement module than I see on my machine. Just let me know
when the image goes live and I can validate right away.</p></div>Michaeltag:help.appveyor.com,2012-11-13:Comment/383722332015-11-10T19:01:34Z2015-11-10T19:01:34ZPSGet.psm1 doesnt work<div><p>Actually, I added a script to make sure the latest version is
loaded, and it did not resolve the issue. I will continue
debugging, just wanted to pass on the insight.</p></div>Michaeltag:help.appveyor.com,2012-11-13:Comment/383722332015-11-12T05:18:50Z2015-11-12T05:18:50ZPSGet.psm1 doesnt work<div><p>Hi guys,</p>
<p>We've just added a new <code>WMF 5</code> image which is
basically Visual Studio 2015 image + the latest WMF 5 from here:
<a href="http://aka.ms/wmf5latest">http://aka.ms/wmf5latest</a></p>
<pre>
<code>$PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 0 10514 6</code>
</pre>
<p>Let me know how it worked for you.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/383722332015-11-19T19:36:32Z2015-11-19T19:36:32ZPSGet.psm1 doesnt work<div><p>I have found the resolution. You need to pre-load NuGet in to
the machine. A repo demonstrating this is located here (this repo
is hooked to the Gallery, live).</p>
<p><a href="https://github.com/mgreenegit/wsmantrust">https://github.com/mgreenegit/wsmantrust</a></p>
<p>The "magic" is:</p>
<p><a href="https://github.com/mgreenegit/WSManTrust/blob/master/appveyor.yml#L8">
https://github.com/mgreenegit/WSManTrust/blob/master/appveyor.yml#L8</a></p></div>migreenetag:help.appveyor.com,2012-11-13:Comment/383722332015-11-19T20:06:10Z2015-11-19T20:06:10ZPSGet.psm1 doesnt work<div><p>Nice, thanks for sharing that!</p></div>Feodor Fitsner