Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centrally defined floating package versions are not allowed. #23

Open
olegd-superoffice opened this issue Mar 13, 2023 · 1 comment
Open

Comments

@olegd-superoffice
Copy link

If converted project contains floating package versions in package references like this:

    <PackageReference Include="Microsoft.Extensions.Options" Version="6.0.*" />

these references are just get transferred to Directory.Packages.props and result in the following error:

error NU1011: Centrally defined floating package versions are not allowed.

@BastianBirke
Copy link
Contributor

My last PR #26: changed versioning to NuGet.Versioning.NuGetVersion, will not parse floating versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants