Skip to content

Fix doubled path in vss-extension.json causing VSIX packaging failure#2

Draft
matejskubic with Copilot wants to merge 4 commits into
mainfrom
copilot/fix-publishing-github-actions-job
Draft

Fix doubled path in vss-extension.json causing VSIX packaging failure#2
matejskubic with Copilot wants to merge 4 commits into
mainfrom
copilot/fix-publishing-github-actions-job

Conversation

Copilot AI commented May 27, 2026

Copy link
Copy Markdown
Contributor

tfx extension create was failing with ENOENT because paths in azure-devops-extension/vss-extension.json were prefixed with azure-devops-extension/, which tfx then resolved relative to the manifest file's own directory — producing the doubled path azure-devops-extension/azure-devops-extension/tasks/PrepareDailyBuildBranch.

Change

  • Removed the redundant azure-devops-extension/ prefix from files[].path and contributions[].properties.name in vss-extension.json
-  { "path": "azure-devops-extension/tasks/PrepareDailyBuildBranch" }
+  { "path": "tasks/PrepareDailyBuildBranch" }

-  "name": "azure-devops-extension/tasks/PrepareDailyBuildBranch"
+  "name": "tasks/PrepareDailyBuildBranch"

Paths are now relative to the manifest file's location (azure-devops-extension/), which is how tfx resolves them regardless of --root.

The vss-extension.json is located in azure-devops-extension/ so paths
within it are resolved relative to that directory. The previous paths
included the redundant azure-devops-extension/ prefix which caused tfx
to look for azure-devops-extension/azure-devops-extension/tasks/...
(path doubled), resulting in ENOENT during packaging.
Copilot AI changed the title [WIP] Fix failing GitHub Actions job publish Fix doubled path in vss-extension.json causing VSIX packaging failure May 27, 2026
Copilot AI requested a review from matejskubic May 27, 2026 22:00
@matejskubic
matejskubic had a problem deploying to marketplace-preview May 27, 2026 22:49 — with GitHub Actions Failure
@matejskubic
matejskubic had a problem deploying to marketplace-preview May 27, 2026 22:51 — with GitHub Actions Failure
@matejskubic
matejskubic had a problem deploying to marketplace-preview May 27, 2026 22:57 — with GitHub Actions Failure
@matejskubic
matejskubic temporarily deployed to marketplace-preview May 27, 2026 22:58 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants