Just for documentation purpose:
I tried to install psbuild as described in the readme.
PS C:\Users\florian.decker> (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/ligershark/psbuild/master/src/GetPSBuild.ps1") | iex
This was followed by this errors:
Copy-Item : Could not find a part of the path 'C:\Users\florian.decker\AppData\Local\GitHub\shell.ps1\psbuild\'.
At line:49 char:9
+ Copy-Item -Path "$($psbPsm1File.Directory.FullName)\*" -Dest ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Copy-Item], DirectoryNotFoundException
+ FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.PowerShell.Commands.CopyItemCommand
Import-Module : The specified module 'C:\Users\florian.decker\AppData\Local\GitHub\shell.ps1\psbuild\psbuild.psm1' was
not loaded because no valid module file was found in any module directory.
At line:69 char:9
+ Import-Module -Name $moduleFile -DisableNameChecking -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (C:\Users\floria...ld\psbuild.psm1:String) [Import-Module], FileNot
FoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
psbuild is installed and ready to use
USAGE:
PS> Invoke-MSBuild 'C:\temp\msbuild\msbuild.proj'
PS> Invoke-MSBuild C:\temp\msbuild\path.proj -properties (@{'OutputPath'='c:\ouput\';'visualstudioversion'='12.0'})
-extraArgs '/nologo'
For more details:
get-help Invoke-MSBuild
Or visit http://msbuildbook.com/psbuild
The log says that the installation was successfull, although none of the commands worked afterwards.
I solved the problem by deleting the file C:\Users\florian.decker\AppData\Local\GitHub\shell.ps1 and running the installation again.
Thanks for the nice project! :)
Cheers,
Florian
Just for documentation purpose:
I tried to install psbuild as described in the readme.
PS C:\Users\florian.decker> (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/ligershark/psbuild/master/src/GetPSBuild.ps1") | iexThis was followed by this errors:
The log says that the installation was successfull, although none of the commands worked afterwards.
I solved the problem by deleting the file
C:\Users\florian.decker\AppData\Local\GitHub\shell.ps1and running the installation again.Thanks for the nice project! :)
Cheers,
Florian