Skip to content

Microsoft.DocAsCode.Dfm (or any) is not depending on System.Composition.AttributedModel #2139

@willnode

Description

@willnode

DocFX Version Used: 2.24

Template used: Any

Steps to Reproduce:

Same steps with tutorial on documentation

Expected Behavior:
The plugin should builds.

Actual Behavior:
ExportAttribute is missing. More info:

[Export(typeof(IDfmEngineCustomizer))]

I got stuck in step 7, the ExportAttribute is missing. After hours of searching I found it was a class in another NuGet named System.Composition.AttributedModel version 1.0.31 (It still won't compile if latest stable version 1.1.0 is used).

And then I take a quick look on the dfm depedencies and found this screenshot confirms my hypothesis:

screenshot 71

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions