Skip to content

PublishReferencesDocumentationFiles not working as expected. #1773

@helloitszak

Description

@helloitszak

From what I understand, according to #1062, PublishReferencesDocumentationFiles, which is on by default, should be copying xml documentation files from packages my project references.

However, this is not copying documentation files included in NuGet packages referenced with PackageReference. All I see is the documentation files from the project as well as projects referenced with ProjectReference.

Is this intended behavior?

I'm using a standard dotnet new web application , but I'd be happy to create a reproduction repo if that helps.

 #  dotnet --info
.NET Command Line Tools (2.0.0)

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.0.0/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

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