Skip to content

Pack targets are no longer being overridden on adding a package reference to NuGet.Build.Tasks.Pack nupkg #1491

Description

@rohit21agrawal

out.txt
Repro steps:
dotnet new classlib
Add a package reference to NuGet.Build.Tasks.Pack nupkg 4.4.0-preview1-4422 (nuget-build feed on myget)
dotnet pack (using dotnet 2.0 RTM)

The pack targets that are shipped with dotnet sdk 2.0 end up being used instead of the ones from the nupkg.

attached a diag log from packing the csproj (you can search for the resolved value of the property NuGetBuildTasksPackTargets)

CC: @nguerrera @dsplaisted

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