xoofx / dotnet-releaser

Easily build, run tests and coverage, cross-compile, package and publish your .NET library or application to NuGet and GitHub.
BSD 2-Clause "Simplified" License
698 stars 25 forks source link

Central package management #35

Closed JamieMagee closed 2 years ago

JamieMagee commented 2 years ago

Attempting to use dotnet-releaser with NuGet Central Package Management^1 I get the error:

error NU1008: Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion
items: Packaging.Targets.
xoofx commented 2 years ago

Hopefully fixed by 0aea1e5. Not sure if it is the best way to workaround it. A bit annoying to have to create entirely different ItemGroup path for them.