Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Unable to generate linker-dependencies.xml for Windows SDK projects #3212

Description

@mitchcapper

per: https://github.com/dotnet/linker/blob/main/src/analyzer/README.md
it seems like this should work for .net SDK style projects but I am having no luck.

I created a simple repro test case and built it using
msbuild /p:_TrimmerDumpDependencies=true /p:Configuration=Release /t:Rebuild

but no linker xml file is generated. Attached is the project and the build output.
LinkerAnalyzerFail.zip
msbuild_output.txt

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions