I have a NuGet package with a targets file which manipulates the PackageVersion depending on the current context (When the branch is master it\'s creates a preview).