How do I automatically increase assembly version number in .NET Standard Class Library Project

993 Views Asked by At

This Stack Overflow question has many answer for automatically increase the assembly version number in Visual Studio project.

But when comes to .NET Standard class library project it doesn't has a AssemblyInfo.cs file.

enter image description here

So how can I increase the assembly version number in .NET Standard Project?

1

There are 1 best solutions below

0
On

In VS2017, the version of the assembly can be set in project properties -> Package tab, but there is no way to automatically increment the version number at each build, have to set it manually.