Skip to content

Can not build with VS Code #5440

Closed
Closed

Description

@iSazonov

I can not build with VS Code:

PowerShell output: c:\Users\sie\Documents\GitHub\iSazonov\PowerShell/debug
WARNING: Run Sync-PSTags to update tags
Unable to load file: "c:\Users\sie\Documents\GitHub\iSazonov\PowerShell/debug"
Execution of { & "~/.rcedit/rcedit-x64.exe" "$($Options.Output)" --set-icon "$PSScriptRoot\assets\Powershell_black.ico" `
            --set-file-version $ReleaseVersion --set-product-version $ReleaseVersion --set-version-string "ProductName" "PowerShell
Core 6" `
            --set-requested-execution-level "asInvoker" --set-version-string "LegalCopyright" "(C) Microsoft Corporation.  All Rights
Reserved." } failed with exit code 1
At C:\Users\sie\Documents\GitHub\iSazonov\PowerShell\build.psm1:1862 char:13
+             throw "Execution of {$sb} failed with exit code $LASTEXIT ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Execution of { ...ith exit code 1:String) [], RuntimeException
    + FullyQualifiedErrorId : Execution of { & "~/.rcedit/rcedit-x64.exe" "$($Options.Output)" --set-icon "$PSScriptRoot\assets\Power
   shell_black.ico" `
                --set-file-version $ReleaseVersion --set-product-version $ReleaseVersion --set-version-string "ProductName" "PowerShe
   ll Core 6" `
                --set-requested-execution-level "asInvoker" --set-version-string "LegalCopyright" "(C) Microsoft Corporation.  All Ri
   ghts Reserved." } failed with exit code 1

The terminal process terminated with exit code: 1

Activity

  1. added
    WG-Maintainers-Build
    Issue-Bug
    on Nov 14, 2017
  2. SteveL-MSFT commented on Nov 14, 2017

    @SteveL-MSFT
    Member

    I have a fix for the build, but not able to get the build output to show in vscode using a 2.0.0 task

  3. iSazonov commented on Nov 15, 2017

    @iSazonov
    CollaboratorAuthor

    I see the output in Terminal window not Output windows.

  4. rkeithhill commented on Nov 15, 2017

    @rkeithhill
    Collaborator

    VSCode tasks using schema version 2.0.0, will output to the terminal window instead of the Output window. That's the way it is supposed to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-BugResolution-FixedWG-Maintainers-Build

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions