Skip to content

Templates create compile errors in solutions with Central Package Management (CPM) #48903

Open
@cremor

Description

@cremor
  1. Create or open a solution with Central Package Management (CPM)
  2. Add a new test project via one of the test project templates.
  3. Notice that there are compile errors. The root error is NU1008 Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items

Related: dotnet/aspnetcore#48569

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Common templatesCovers templates in the repo (classlib, console, common item templates)Area-TemplatesArea-Test templatesenhancementhelp wantedIssues that we would accept external contributions on. Also known as up-for-grabs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions