Skip to content

Bug: exporttags with --output-file-format json outputs only appVersion, no tags #641

@felickz

Description

@felickz

Describe the bug
The exporttags command with --output-file-format json produces a JSON file containing only the appVersion field. The actual tags are completely missing from the output. The text format works correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Run appinspector exporttags --output-file-format json --output-file-path .\tags.json
  2. Open tags.json
  3. Observe the file contains only:
    {
      "appVersion": "Microsoft Application Inspector 1.9.55+0b8c96ee0b"
    }
  4. No tags are present in the output

Expected behavior
The JSON output should contain all exported tags in a structured format, equivalent to the text format output which correctly lists all tags.

Screenshots

Image

Operating Environment (please complete the following information):

  • Application Inspector Version: 1.9.55 (latest on NuGet as of Feb 2026)
  • OS: Windows
  • Browser: N/A
  • Browser Version: N/A

Additional context
Using --output-file-format text works correctly as a workaround and outputs all tags:

appinspector exporttags --output-file-format text --output-file-path .\tags.txt

Installed via dotnet tool install -g Microsoft.CST.ApplicationInspector.CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions