Skip to content

Bindings not working in VS2019 #34

Description

@ddieppa

Installed product versions

  • Visual Studio: Visual Studio 2019 Enterprise
  • This extension: 1.2.41

Description

bindings not working, the commands.json get modified and everything but in the Task Runner Explorer after saving the json file the bind disappear, even though it is in the json file

Steps to recreate

  1. open the task runner explorer
  2. add an after build binding
  3. rebuild the solution
  4. the binding does not run and also disappear from the task runner explorer windows
{
  "commands": {
    "TestCommand": {
      "fileName": "powershell.exe",
      "workingDirectory": ".",
      "arguments": "Start-Process -FilePath \"C:\\Windows\\System32\\cmd.exe\" -ArgumentList \"\/k\",\"C:\\src\\deployment.cmd\" -Verb RunAs"
    }
  },
  "-vs-binding": { "AfterBuild": [ "TestCommand" ] }
}

if you click on run from the task runner explorer it executes correctly

Current behavior

the binding does not run and also disappear from the task runner explorer windows

Expected behavior

run the binding after the build

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions