Skip to content

PackageReleasePackages target cannot handle multiple versions in artifacts #16209

@jjonescz

Description

@jjonescz
  • This issue is blocking
  • This issue is causing unreasonable pain

The PackageReleasePackages target fails with

D:\.tools\.nuget\packages\microsoft.dotnet.arcade.sdk\11.0.0-beta.25509.1\tools\BuildReleasePackages.targets(21,5): Multiple packages of name 'Microsoft.CodeAnalysis' specified [D:\.tools\.nuget\packages\microsoft.dotnet.arcade.sdk\11.0.0-beta.25509.1\tools\AfterSolutionBuild.proj]

often when packing Roslyn locally. I have investigated and the problem is that I have accumulated several versions of packages and the target can't handle that:

Image

That seems like a bug to me - or do I really need to remove all artifacts before running build.cmd -pack locally?

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