In the old .NET framework, you could set the [assembly: AssemblyVersion("1.0.*")]
and the compiler would auto-increment the version.
With .NET core, I've tried all sorts of things, but I can't get it to auto-increment.
- I've added
<Deterministic>False</Deterministic>
and<AssemblyVersion>1.0.*</AssemblyVersion>
to the .csproj per similar question. The code compiles but the version stays the same - I've tried the same thing but with
<Version>1.0.*</Version>
tag as described here. This actually set the product version to 1.0.* (with the asterisk). - I've set the Assembly Version in the Property Properties/Package page. Doesn't seem to do anything either.
None of it seems to work. Am I missing something simple? This is just a standard .NET Core Web Project.