AzureDevOps/VSTS Build - Could not find version number data in BUILD_BUILDNUMBER

后端 未结 4 2072
[愿得一人]
[愿得一人] 2021-02-01 15:45

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

4条回答
  •  太阳男子
    2021-02-01 15:55

    The tip for "Use Build number to version package" states:

    Will use the build number to version you package. Under General set the build format to be '$(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)'

    Following this did get me past this issue (and on to a new one).

    Default value:

    [Default value]

    Correct Value:

    [Correct Value]

提交回复
热议问题