Skip to content

Assemblies containing Avalonia XAML are rejected by Microsoft's symstore tool #20760

@TomEdwardsEnscape

Description

@TomEdwardsEnscape

Describe the bug

Symstore is used to upload and manage symbol servers for use with Microsoft's various debuggers. This is an essential tool for inspecting crash dumps from released builds of our product.

However, assemblies containing compiled Avalonia XAML cannot be uploaded via the tool. They are for some reason considered invalid.

The PDB files are uploaded to the symbol store as normal, but the original assemblies are required alongside them in order to locate the correct PDB. If you get hold of the original assemblies via some other channel, then the uploaded PDBs are found and debugging works as expected.

To Reproduce

  1. Add an Avalonia XAML file to a project
  2. Compile it
  3. Install Debugging Tools for Windows
  4. Execute symstore.exe add /o /f MyAssembly.dll /s .\MySymbolStore /t MyProduct

This error is reported:

SYMSTORE MESSAGE: Skipping file MyAssembly.dll - not a known file type. ErrorLevel is 13.

Expected behavior

Assemblies are uploaded to the symbol store without any errors.

Avalonia version

11.3.11

OS

Windows

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions