Recently tried to compile PowerShell native Windows binaries and this last copy operation:
|
# Copy the binary to the packaging directory |
|
# NOTE: No PDB file; it's a resource-only DLL. |
|
# VS2017 puts this in $HOME\source |
|
$srcPath = [IO.Path]::Combine($HOME, "source", $Configuration, 'PowerShell.Core.Instrumentation.dll') |
|
Copy-Item -Path $srcPath -Destination $dstPath |
of
Start-BuildNativeWindowsBinaries failed due to absence of file in expected location.
For me file (result of compilation) was located in \src\PowerShell.Core.Instrumentation relative to repo root, but not in $HOME\source as stated in the comment. Is that error here or location was changed or is dependent of environment? Should build script be fixed or enhanced to cover other location of build artifacts?
Recently tried to compile PowerShell native Windows binaries and this last copy operation:
PowerShell/build.psm1
Lines 307 to 311 in d04fef4
of
Start-BuildNativeWindowsBinariesfailed due to absence of file in expected location.For me file (result of compilation) was located in
\src\PowerShell.Core.Instrumentationrelative to repo root, but not in$HOME\sourceas stated in the comment. Is that error here or location was changed or is dependent of environment? Should build script be fixed or enhanced to cover other location of build artifacts?