Skip to content

Suppress NU5105 in consuming projects #209

Closed
@adamralph

Description

@adamralph

E.g.

C:\Program Files\dotnet\sdk\2.2.104\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(202,5): warning NU5105: The package version '2.0.5-alpha.0.9+build.0' uses SemVer 2.0.0 or components of SemVer 1.0.0 that are not supported on legacy clients. Change the package version to a SemVer 1.0.0 string. If the version contains a release label it must start with a letter. This message can be ignored if the package is not intended for older clients.

Activity

changed the title [-]Suppress NU1505 in consuming projects[/-] [+]Suppress NU5105 in consuming projects[/+] on Feb 27, 2019
added this to the 1.1.0 milestone on Feb 27, 2019
bording

bording commented on Feb 27, 2019

@bording
Collaborator

This should be as simple as adding <NoWarn>$(NoWarn);NU5015</NoWarn> to a PropertyGroup in MinVer.targets.

adamralph

adamralph commented on Feb 27, 2019

@adamralph
OwnerAuthor

@bording exactly what I had in mind. But given that 1.0.0 is now in RC, I've put it on the 1.1.0 milestone.

That said, it can be merged into master now. Any further required 1.0.0 commits can go into a release-1.0 branch.

adamralph

adamralph commented on Apr 12, 2019

@adamralph
Author
adamralph

adamralph commented on Apr 12, 2019

@adamralph
OwnerAuthor

#210 has a typo: NU5015 instead of NU5105.

adamralph

adamralph commented on Apr 12, 2019

@adamralph
OwnerAuthor

Released in 1.1.0-beta.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @adamralph@bording

      Issue actions

        Suppress NU5105 in consuming projects · Issue #209 · adamralph/minver