Skip to content

How to build a specific version of oxyplot nuget package locally ? #2040

Answered by VisualMelon
xcosmos6 asked this question in Q&A
Discussion options

You must be logged in to vote

It's not specified in the project files (it could be; just isn't), so you're not doing anything wrong. Rather, when I publish, I specify the package version on the command line.

dotnet build OxyPlot.CI.sln /p:configuration=Release /p:version=2.1.0

If you want to build in VS, just stuff this into a property group of the csproj

<VersionPrefix>2.1.2</VersionPrefix>

Note also that the version doesn't change anything: if you're building and targeting locally, unless you have your own nuget source it shouldn't matter.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@xcosmos6
Comment options

@VisualMelon
Comment options

@xcosmos6
Comment options

@VisualMelon
Comment options

@xcosmos6
Comment options

Answer selected by xcosmos6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants