Issue with Invoke-MSBuild (PSBuild.ps1)

kevin's Avatar


28 Apr, 2015 06:07 PM

Wondering if anyone else is having issue with Invoke-MSBuild? Today we are seeing the following error on installation.

Running Install scripts
(new-object Net.WebClient).DownloadString("") | iex
cmd.exe : Unable to find version '0.1.4-beta' of package 'psbuild'.
At line:118 char:13
+             cmd.exe /D /C $cmdToExec
+             ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Unable to find ...kage 'psbuild'.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
The command ["C:\Users\appveyor\AppData\Local\LigerShark\tools\nuget.exe" install psbuild -Version 0.1.4-beta -Prerelease] exited with code [1]

Does anyone know off hand if there is away to force getting the previous version?

  1. Support Staff 1 Posted by Feodor Fitsner on 28 Apr, 2015 06:35 PM

    Feodor Fitsner's Avatar

    Well, looks like there are some lags on today. When I try running the following command locally it takes like 2 minutes and then gives WARNING: The operation has timed out. Unable to find version '0.1.4-beta' of package 'psbuild'. (though one attempt was successful):

    nuget.exe install psbuild -Version 0.1.4-beta -Prerelease -nocache

    Let me notify NuGet guys.

  2. 2 Posted by kevin on 28 Apr, 2015 06:57 PM

    kevin's Avatar


    Thanks for the insight, I am seeing the same delays. I’ll wait and see.


  3. kevin closed this discussion on 16 Nov, 2015 02:08 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac