Skip to content

dotnet pack with nuspec/project file #17704

Closed

Description

@asklar

I need to be able to specify which files to include, and I haven't found how to do that with the csproj file, only with the nuspec file. On the other hand, the version number is set dynamically in the csproj file (it includes the date), and the nupkg can't do that. How can I get both behaviors? How do I tell dotnet pack to only include the files I want, through the csproj?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. added
    waiting-on-feedback
    and removed
    ⌚ Not Triaged
    on Apr 6, 2020
  2. tdykstra commented on Apr 6, 2020

    @tdykstra
    Contributor

    @wli3 Who can help with this question?

  3. wli3 commented on Apr 6, 2020

    @wli3
  4. added and removed
    waiting-on-feedback
    on Apr 6, 2020
  5. tdykstra commented on Apr 6, 2020

    @tdykstra
    Contributor

    Thanks @nkolev92 -- I'll add these links to the doc.

  6. self-assigned this
    on May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions