Setting up a simple class library to build and publish to VSTS\'s own feed, I see this error when the NuGet package runs.
Could not find version number da
If what you want is the major.minor.patch.unique-to-build
then you use the Use the date and time
option.
In yaml, the equivalent is
- task: NuGetCommand@2
displayName: Pack
inputs:
command: 'pack'
packagesToPack: '**/*.csproj'
versioningScheme: 'byPrereleaseNumber'
majorVersion: '1'
minorVersion: '0'
patchVersion: '0'