@@ -56,11 +56,11 @@ jobs:
5656 command : ' restore'
5757 projects : ' src/ExchangeSharp/ExchangeSharp.csproj'
5858 - task : DotNetCoreCLI@2
59- displayName : ' Build lib+console '
59+ displayName : ' Build'
6060 inputs :
6161 command : ' build'
6262 projects : ' src/ExchangeSharp/ExchangeSharp.csproj'
63- arguments : ' --configuration $(BuildConfiguration) --version-suffix prerelease-$(PipelineDate) --output $(Build.ArtifactStagingDirectory) '
63+ arguments : ' --configuration $(BuildConfiguration)'
6464 # - task: DotNetCoreCLI@2
6565 # displayName: 'Tests'
6666 # inputs:
@@ -69,13 +69,15 @@ jobs:
6969 # projects: 'tests/*/*.csproj'
7070 # publishTestResults: true
7171 # testRunTitle: 'All tests'
72- # - task: DotNetCoreCLI@2
73- # displayName: 'NuGet Pack'
74- # inputs:
75- # command: pack
76- # packagesToPack: 'src/ExchangeSharp/ExchangeSharp.csproj'
77- # packDestination: '$(Build.ArtifactStagingDirectory)'
78- # versioningScheme: off
72+ - task : DotNetCoreCLI@2
73+ displayName : ' NuGet Pack'
74+ inputs :
75+ command : pack
76+ packagesToPack : ' src/ExchangeSharp/ExchangeSharp.csproj'
77+ configuration : ' $(BuildConfiguration)'
78+ packDirectory : ' $(Build.ArtifactStagingDirectory)'
79+ buildProperties : ' VersionSuffix=prerelease-$(PipelineDate)'
80+ nobuild : true
7981 - task : NuGetToolInstaller@1
8082 - task : NuGetAuthenticate@0
8183 displayName : ' NuGet Authenticate'
0 commit comments