@@ -59,7 +59,6 @@ $script:NetFramework = @{
5959$script :HostCoreOutput = " $PSScriptRoot /src/PowerShellEditorServices.Hosting/bin/$Configuration /$ ( $script :NetFramework.PS72 ) /publish"
6060$script :HostDeskOutput = " $PSScriptRoot /src/PowerShellEditorServices.Hosting/bin/$Configuration /$ ( $script :NetFramework.PS51 ) /publish"
6161$script :PsesOutput = " $PSScriptRoot /src/PowerShellEditorServices/bin/$Configuration /$ ( $script :NetFramework.Standard ) /publish"
62- $script :VSCodeOutput = " $PSScriptRoot /src/PowerShellEditorServices.VSCode/bin/$Configuration /$ ( $script :NetFramework.Standard ) /publish"
6362
6463if (Get-Command git - ErrorAction SilentlyContinue) {
6564 # ignore changes to this file
@@ -79,7 +78,6 @@ Task FindDotNet {
7978Task BinClean {
8079 Remove-BuildItem $PSScriptRoot \.tmp
8180 Remove-BuildItem $PSScriptRoot \module\PowerShellEditorServices\bin
82- Remove-BuildItem $PSScriptRoot \module\PowerShellEditorServices.VSCode\bin
8381}
8482
8583Task Clean FindDotNet, BinClean, {
@@ -170,9 +168,6 @@ Task Build FindDotNet, CreateBuildInfo, {
170168 if (-not $script :IsNix ) {
171169 Invoke-BuildExec { & dotnet publish $script :dotnetBuildArgs .\src\PowerShellEditorServices.Hosting\PowerShellEditorServices.Hosting.csproj -f $script :NetFramework.PS51 }
172170 }
173-
174- # Build PowerShellEditorServices.VSCode module
175- Invoke-BuildExec { & dotnet publish $script :dotnetBuildArgs .\src\PowerShellEditorServices.VSCode\PowerShellEditorServices.VSCode.csproj -f $script :NetFramework.Standard }
176171}
177172
178173# The concise set of tests (for pull requests)
@@ -291,14 +286,13 @@ Task TestE2EPowerShellCLM -If (-not $script:IsNix) Build, SetupHelpForTests, {
291286
292287Task LayoutModule - After Build {
293288 $modulesDir = " $PSScriptRoot /module"
294- $psesVSCodeBinOutputPath = " $modulesDir /PowerShellEditorServices.VSCode/bin"
295289 $psesOutputPath = " $modulesDir /PowerShellEditorServices"
296290 $psesBinOutputPath = " $PSScriptRoot /module/PowerShellEditorServices/bin"
297291 $psesDepsPath = " $psesBinOutputPath /Common"
298292 $psesCoreHostPath = " $psesBinOutputPath /Core"
299293 $psesDeskHostPath = " $psesBinOutputPath /Desktop"
300294
301- foreach ($dir in $psesDepsPath , $psesCoreHostPath , $psesDeskHostPath , $psesVSCodeBinOutputPath ) {
295+ foreach ($dir in $psesDepsPath , $psesCoreHostPath , $psesDeskHostPath ) {
302296 New-Item - Force - Path $dir - ItemType Directory | Out-Null
303297 }
304298
@@ -338,13 +332,6 @@ Task LayoutModule -After Build {
338332 }
339333 }
340334 }
341-
342- # Assemble the PowerShellEditorServices.VSCode module
343- foreach ($vscodeComponent in Get-ChildItem $script :VSCodeOutput ) {
344- if (-not $includedDlls.Contains ($vscodeComponent.Name )) {
345- Copy-Item - Path $vscodeComponent.FullName - Destination $psesVSCodeBinOutputPath - Force
346- }
347- }
348335}
349336
350337task RestorePsesModules - After Build {
@@ -400,7 +387,6 @@ task RestorePsesModules -After Build {
400387
401388Task BuildCmdletHelp - After LayoutModule {
402389 New-ExternalHelp - Path $PSScriptRoot \module\docs - OutputPath $PSScriptRoot \module\PowerShellEditorServices\Commands\en- US - Force | Out-Null
403- New-ExternalHelp - Path $PSScriptRoot \module\PowerShellEditorServices.VSCode\docs - OutputPath $PSScriptRoot \module\PowerShellEditorServices.VSCode\en- US - Force | Out-Null
404390}
405391
406392# The default task is to run the entire CI build
0 commit comments