Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

.woff2 extension missing in VsixManifestBuilder.CONTENT_TYPE_MAP

Open
#467 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
cli

Research direction

Start with VsixManifestBuilder.CONTENT_TYPE_MAP and inspect how the VSIX package determines content types. Run the reported npx tfx extension create command with a .woff2 file, then confirm the warning is gone and the file is mapped to font/woff2.

Written by the indexing model from the issue text.

Description

Area: tfx-cli bug

When creating the vsix package of an ADO extension, the CLI warns that .woff2 is missing a content type. It looks like this should be added in VsixManifestBuilder.CONTENT_TYPE_MAP, likely mapped to font/woff2.

> npx tfx extension create --manifests azure-devops-extension-dev.json --no-color
TFS Cross Platform Command Line Interface v0.17.0
Copyright Microsoft Corporation
warning: Could not determine content type for extension .woff2. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.

The warning asks to set the contentType property in the files section but it does not seem that wildcards can be used there.

Dominant language
TypeScript
Stars
386
Forks
142
Avg merge
2d 11h
Merged PRs (30d)
5

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/tfs-cli

All issues in microsoft/tfs-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.