Package version gets set to information version #75

Open
opened 2026-01-29 16:28:38 +00:00 by claunia · 1 comment
Owner

Originally created by @claunia on GitHub (Mar 12, 2020).

csproj contents:

    <Version>4.5.99.2020</Version>
    <NrtRevisionFormat>$(Version)-{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>
    <PackageVersion>$(Version)-1</PackageVersion>

Expected result:
Debian's control -> Version: 4.5.99.2020-1

Current behaviour:
Debian's control -> Version: 4.5.99.2020-4decb6d4 built by khepri in Release, modified

Originally created by @claunia on GitHub (Mar 12, 2020). csproj contents: ```xml <Version>4.5.99.2020</Version> <NrtRevisionFormat>$(Version)-{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat> <PackageVersion>$(Version)-1</PackageVersion> ``` Expected result: Debian's control -> `Version: 4.5.99.2020-1` Current behaviour: Debian's control -> `Version: 4.5.99.2020-4decb6d4 built by khepri in Release, modified`
Author
Owner

@claunia commented on GitHub (Mar 12, 2020):

Setting package version to anything does not affect it, still gets the informational version.

@claunia commented on GitHub (Mar 12, 2020): Setting package version to anything does not affect it, still gets the informational version.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#75