Published on August 8, 2017 by Microsoft

Setting assembly and product version numbers as part of your build process is easier now in .NET Core. In this episode, Dave shows us how to specify version numbers for .NET core assemblies and NuGet packages using command line parameters and how easily that can be integrated into build systems like AppVeyor.

Episode Sponsor:
AppVeyor – Continuous Deliver Services for Windows Developers

 

Previous Episodes:
Hosted ASP.NET Core Builds with AppVeyor
Continuous Deployment with AppVeyor
Deploying a NuGet package with AppVeyor

Related Content:
AppVeyor Docs – Environment Variables

 

Leave a Reply

2 Comments on "ASP.NET Monsters #103: Setting Version Numbers on a Build Server"

Notify of
avatar

DavidPaquette
Guest
DavidPaquette
11 months 5 days ago

@Megasware128:Yeah! There’s a whole set of NuGet Package properties available: docs.microsoft.com/en-us/dotnet/core/tools/csproj#nuget-metadata-properties

Megasware128
Guest
Megasware128
11 months 5 days ago

There is also a <PackageVersion/>

wpDiscuz