@@ -287,8 +287,8 @@ task LayoutModule -After Build {
287287 Copy-Item - Force - Path " $PSScriptRoot \Third Party Notices.txt" - Destination $psesOutputPath
288288
289289 # Copy UnixConsoleEcho native libraries
290- Copy-Item - Path " $script :PsesOutput /runtimes/osx-64/native/*" - Destination $psesDepsPath
291- Copy-Item - Path " $script :PsesOutput /runtimes/linux-64/native/*" - Destination $psesDepsPath
290+ Copy-Item - Path " $script :PsesOutput /runtimes/osx-64/native/*" - Destination $psesDepsPath - Force
291+ Copy-Item - Path " $script :PsesOutput /runtimes/linux-64/native/*" - Destination $psesDepsPath - Force
292292
293293 # Assemble PSES module
294294
@@ -307,7 +307,7 @@ task LayoutModule -After Build {
307307 if ($psesComponent.Extension )
308308 {
309309 [void ]$includedDlls.Add ($psesComponent.Name )
310- Copy-Item - Path $psesComponent.FullName - Destination $psesDepsPath
310+ Copy-Item - Path $psesComponent.FullName - Destination $psesDepsPath - Force
311311 }
312312 }
313313
@@ -316,7 +316,7 @@ task LayoutModule -After Build {
316316 {
317317 if (-not $includedDlls.Contains ($hostComponent.Name ))
318318 {
319- Copy-Item - Path $hostComponent.FullName - Destination $psesCoreHostPath
319+ Copy-Item - Path $hostComponent.FullName - Destination $psesCoreHostPath - Force
320320 }
321321 }
322322
@@ -327,7 +327,7 @@ task LayoutModule -After Build {
327327 {
328328 if (-not $includedDlls.Contains ($hostComponent.Name ))
329329 {
330- Copy-Item - Path $hostComponent.FullName - Destination $psesDeskHostPath
330+ Copy-Item - Path $hostComponent.FullName - Destination $psesDeskHostPath - Force
331331 }
332332 }
333333 }
@@ -338,7 +338,7 @@ task LayoutModule -After Build {
338338 {
339339 if (-not $includedDlls.Contains ($vscodeComponent.Name ))
340340 {
341- Copy-Item - Path $vscodeComponent.FullName - Destination $psesVSCodeBinOutputPath
341+ Copy-Item - Path $vscodeComponent.FullName - Destination $psesVSCodeBinOutputPath - Force
342342 }
343343 }
344344}
@@ -418,7 +418,7 @@ task PackageModule {
418418}
419419
420420task UploadArtifacts - If ($null -ne $env: TF_BUILD ) {
421- Copy-Item - Path .\PowerShellEditorServices- $ ($script :FullVersion ).zip - Destination $env: BUILD_ARTIFACTSTAGINGDIRECTORY
421+ Copy-Item - Path .\PowerShellEditorServices- $ ($script :FullVersion ).zip - Destination $env: BUILD_ARTIFACTSTAGINGDIRECTORY - Force
422422}
423423
424424# The default task is to run the entire CI build
0 commit comments