How do you get the nuget package number to not be 1.0.0 ? #2654
Unanswered
JohnGoldInc
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hi @JohnGoldInc does this question relate to the OData libraries or to .NET libraries in general? For which library do you want to update the version number? |
Beta Was this translation helpful? Give feedback.
2 replies
-
And what is the command to pack nuget packages? Build.cmd didn’t seem to
make packages (and Visual Studio Pack makes them 1.0.0)
…On Tue, Apr 18, 2023 at 11:35 PM Clément Habinshuti < ***@***.***> wrote:
In this repo, we set the version number in the file
tools/CustomMSBuild/Versioning.props in the following XML properties:
<!-- Set the version number: major, minor, build and release (i.e. alpha, beta or blank for RTM)-->
<PropertyGroup>
<VersionMajor Condition="'$(VersionMajor)' == ''">7</VersionMajor>
<VersionMinor Condition="'$(VersionMinor)' == ''">15</VersionMinor>
<VersionBuildNumber Condition="'$(VersionBuildNumber)' == ''">0</VersionBuildNumber>
<VersionRelease Condition="'$(VersionRelease)' == ''"></VersionRelease>
</PropertyGroup>
Then the rest is handled by the build process.
—
Reply to this email directly, view it on GitHub
<#2654 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFYVE6UIWJCQGQWI7MC2V3XB5MPLANCNFSM6AAAAAAXAEF2BQ>
.
You are receiving this because you were mentioned.Message ID: <OData/odata
.***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I change the Assembly/File versions in the properties of projects to 8.0.0.0 but still get ...1.0.0.nupkg
And I don't see anything controlling it in build.ps1 or build.cmd regarding generating packages...
I am sure it's in tools somewhere, as I see something in CustomMSBuild that looks like it's doing something with packaging and versioning, but I need to figure out how to invoke it correctly.
Beta Was this translation helpful? Give feedback.
All reactions