Skip to content

Implicit refs error when CPM is enabled #43604

Open
@richlander

Description

@richlander

I saw an implicit refs error when I enabled CPM. That seems bad. This means that the SDK is the only place where the version can be specified, unless transitive pinning is used, which isn't mentioned.

/Users/rich/git/winforms/src/System.Windows.Forms.Analyzers/tests/UnitTests/System.Windows.Forms.Analyzers.Tests.csproj : error NU1009: The packages xunit.assert are implicitly referenced. You do not typically need to reference them from your project or in your central package versions management file. For more information, see https://aka.ms/sdkimplicitrefs

dotnet/winforms#12175

I'm not sure where the error us. It might be in our internal SDKs.

There are two questions here:

  • Should we update the error message to include a reference to transitive pinning?
  • Should we remove packages from implicit refs?

@JonDouglas

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions